mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
Add comment injection
This commit is contained in:
parent
0c1f579202
commit
cc63a93600
2 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
||||||
"order" @function.builtin)
|
"order" @function.builtin)
|
||||||
|
|
||||||
; Comments
|
; Comments
|
||||||
(comment) @comment
|
(comment) @comment @spell
|
||||||
|
|
||||||
; Projections and objects
|
; Projections and objects
|
||||||
(projection
|
(projection
|
||||||
|
|
|
||||||
2
runtime/queries/groq/injections.scm
Normal file
2
runtime/queries/groq/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
((comment) @injection.content
|
||||||
|
(#set! injection.language "comment"))
|
||||||
Loading…
Add table
Add a link
Reference in a new issue