diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 0eb541269..24087e204 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -112,3 +112,9 @@ "::" @operator "..." @operator + +; Annotations (not fully supported by parser) + +((ERROR) @annotation + (vim-match? @annotation "\[?\[.*\]\]?.*$")) +(attribute) @annotation