mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(comment): highlight NOTE as @text.note (#3537)
This commit is contained in:
parent
ebea89483d
commit
26105050aa
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,12 @@
|
|||
|
||||
(tag (name) @text.note (user)? @constant)
|
||||
|
||||
((tag ((name) @text.note))
|
||||
(#any-of? @text.note "NOTE"))
|
||||
|
||||
("text" @text.note
|
||||
(#any-of? @text.note "NOTE"))
|
||||
|
||||
((tag ((name) @text.warning))
|
||||
(#any-of? @text.warning "TODO" "HACK" "WARNING"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue