highlights(cpp): add support for concepts

Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
This commit is contained in:
Stephan Seitz 2021-11-28 18:05:18 +01:00
parent 4cf688ee68
commit db01c82b08
3 changed files with 28 additions and 2 deletions

View file

@ -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