From 26105050aae3a15dd85feaeb0439e253e31d5ceb Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Fri, 23 Sep 2022 19:52:00 +0200 Subject: feat(comment): highlight `NOTE` as `@text.note` (#3537) --- queries/comment/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'queries/comment') diff --git a/queries/comment/highlights.scm b/queries/comment/highlights.scm index 6c3e043c8..a076deec7 100644 --- a/queries/comment/highlights.scm +++ b/queries/comment/highlights.scm @@ -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")) -- cgit v1.2.3-70-g09d2