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 | Merge pull request #330 from steelsojka/fix-do-not-reattach (diff) | |
| download | nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.tar nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.tar.gz nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.tar.bz2 nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.tar.lz nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.tar.xz nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.tar.zst nvim-treesitter-627a1e558f8a534a779e017edbe1d3bb5f7a0768.zip | |
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 fe7283136..7576dd21f 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 |
