diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-28 18:05:18 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-16 22:19:34 +0100 |
| commit | db01c82b08bf20e5260810dccdec7ff4936934eb (patch) | |
| tree | d0011d4c9fb4c380898cb7f2d28dc66068c1e043 /queries/cpp/highlights.scm | |
| parent | 4cf688ee681bbe9a35651732b2d2281a01c40066 (diff) | |
highlights(cpp): add support for concepts
Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
Diffstat (limited to 'queries/cpp/highlights.scm')
| -rw-r--r-- | queries/cpp/highlights.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index c860b632..cb5a98f8 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -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 |
