diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-17 09:15:01 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-17 16:52:45 +0100 |
| commit | 788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53 (patch) | |
| tree | 7530f685102e48c02ee62e2c69cb669f0e1d3fed /queries/cpp | |
| parent | docs(readme): mention tracking issue for language support (diff) | |
| download | nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.tar nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.tar.gz nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.tar.bz2 nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.tar.lz nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.tar.xz nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.tar.zst nvim-treesitter-788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53.zip | |
highlights(cpp): add support for "<=>", "constinit", "consteval"
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/highlights.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index cb5a98f85..c991b956c 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -127,6 +127,8 @@ "co_await" "concept" "requires" + "consteval" + "constinit" (auto) ] @keyword @@ -155,7 +157,10 @@ ;"xor_eq" ] @keyword.operator -"::" @operator +[ + "<=>" + "::" +] @operator (attribute_declaration) @attribute |
