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) --- queries/vimdoc/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'queries') 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