feat(comment): highlight NOTE as @text.note (#3537)

This commit is contained in:
Erik Westrup 2022-09-23 19:52:00 +02:00 committed by GitHub
parent ebea89483d
commit 26105050aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"))