diff options
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/highlights.scm | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index b4cbf7553..c88bce7e9 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -124,12 +124,15 @@ "using" "virtual" "co_await" - "co_yield" - "co_return" (auto) ] @keyword [ + "co_yield" + "co_return" +] @keyword.return + +[ "new" "delete" @@ -150,9 +153,3 @@ ] @keyword.operator "::" @operator - -; Annotations (not fully supported by parser) - -((ERROR) @attribute - (#vim-match? @attribute "\[?\[.*\]\]?.*$")) -(attribute) @attribute |
