summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lockfile.json2
-rw-r--r--queries/vimdoc/highlights.scm6
2 files changed, 7 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json
index b4da6a21a..e60a56af1 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -708,7 +708,7 @@
"revision": "32c76f150347c1cd044e90b8e2bc73c00677fa55"
},
"vimdoc": {
- "revision": "60045f7d717eba85fa8abd996e0bb50eed5a3d8e"
+ "revision": "4f8ba9e39c8b3fbaf0bb5f70ac255474a9099359"
},
"vue": {
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"
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:"))