mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
feat: more comment injections
This commit is contained in:
parent
8dd40c7609
commit
9d68e876cc
56 changed files with 157 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
(field_name) @variable.member
|
||||
|
||||
(comment) @comment
|
||||
(comment) @comment @spell
|
||||
|
||||
(number) @number
|
||||
|
||||
|
|
|
|||
2
queries/textproto/injections.scm
Normal file
2
queries/textproto/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