diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-08-15 18:48:21 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-08-22 19:32:59 +0200 |
| commit | 627a1e558f8a534a779e017edbe1d3bb5f7a0768 (patch) | |
| tree | 9143b8070f2a3ff568f63c814dc6d7e3d1988ca1 /queries/cpp | |
| parent | 3b2cb65d4cfc6e86026f8cc6bf63c180d271ebe3 (diff) | |
C++ highlights: Add initial support for attributes
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/highlights.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index fe728313..7576dd21 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -117,3 +117,9 @@ "::" @operator "..." @operator + +; Annotations (not fully supported by parser) + +((ERROR) @annotation + (vim-match? @annotation "\[?\[.*\]\]?.*$")) +(attribute) @annotation |
