aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/vimdoc/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/vimdoc/highlights.scm b/queries/vimdoc/highlights.scm
index c52333df1..78ae9dab9 100644
--- a/queries/vimdoc/highlights.scm
+++ b/queries/vimdoc/highlights.scm
@@ -23,3 +23,9 @@
(argument) @parameter
(keycode) @string.special
(url) @text.uri
+((note) @text.note
+ (#any-of? @text.note "Note:" "NOTE:" "Notes:"))
+((note) @text.warning
+ (#any-of? @text.warning "Warning:" "WARNING:"))
+((note) @text.danger
+ (#any-of? @text.danger "Deprecated:" "DEPRECATED:"))