nvim-treesitter/runtime/queries/jjdescription/injections.scm

7 lines
186 B
Scheme
Raw Normal View History

((comment_content) @injection.content
(#set! injection.language "comment"))
((rest) @injection.content
(#lua-match? @injection.content "^diff")
(#set! injection.language "diff"))