From 37d93ec0177d4ff2a8ed7e20575642b6e8424666 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Thu, 16 Sep 2021 18:19:11 +0200 Subject: highlights(c/cpp): react to upstream changes to attributes --- queries/cpp/highlights.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'queries/cpp') 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,11 +124,14 @@ "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 -- cgit v1.2.3-70-g09d2