mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(diff): Highlight comments
This commit is contained in:
parent
495c93b0d4
commit
e0d6c7643d
2 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
[
|
||||
(addition)
|
||||
(new_file)
|
||||
|
|
|
|||
2
queries/diff/injections.scm
Normal file
2
queries/diff/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