mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(parsers): add jjdescription (#8625)
This commit is contained in:
parent
539abf6da5
commit
81295eb0c5
4 changed files with 57 additions and 0 deletions
6
runtime/queries/jjdescription/injections.scm
Normal file
6
runtime/queries/jjdescription/injections.scm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
((comment_content) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((rest) @injection.content
|
||||
(#lua-match? @injection.content "^diff")
|
||||
(#set! injection.language "diff"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue