From d2d3df8613ba0b733cc21ed150e3687fad147316 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 21 Dec 2023 14:29:31 +0100 Subject: vimdoc: add note, warning, deprecated (#5817) --- lockfile.json | 2 +- queries/vimdoc/highlights.scm | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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:")) -- cgit v1.2.3-70-g09d2