mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(cpp): add support for concepts
Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
This commit is contained in:
parent
4cf688ee68
commit
db01c82b08
3 changed files with 28 additions and 2 deletions
|
|
@ -30,6 +30,8 @@
|
|||
(function_declarator
|
||||
declarator: (field_identifier) @method)
|
||||
|
||||
(concept_definition
|
||||
name: (identifier) @type)
|
||||
|
||||
(namespace_identifier) @namespace
|
||||
((namespace_identifier) @type
|
||||
|
|
@ -123,6 +125,8 @@
|
|||
"using"
|
||||
"virtual"
|
||||
"co_await"
|
||||
"concept"
|
||||
"requires"
|
||||
(auto)
|
||||
] @keyword
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue