diff options
| author | Aaron Rancsik <20153302+aaronrancsik@users.noreply.github.com> | 2022-11-28 00:19:38 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-12-01 15:08:07 +0100 |
| commit | 4e21b50fbd4d423a973d2664955a20daf41d5d57 (patch) | |
| tree | 5b54ed0c36e407adeeede0214c37dc54d15dd44c /queries/cpp | |
| parent | highlights(c): primitive type as builtin (diff) | |
| download | nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.tar nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.tar.gz nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.tar.bz2 nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.tar.lz nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.tar.xz nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.tar.zst nvim-treesitter-4e21b50fbd4d423a973d2664955a20daf41d5d57.zip | |
highlights(cpp): auto as @type.builtin
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/highlights.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 858781337..1f770e9f8 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -5,6 +5,7 @@ (parameter_declaration declarator: (reference_declarator) @parameter) + ; function(Foo ...foo) (variadic_parameter_declaration declarator: (variadic_declarator @@ -39,6 +40,8 @@ (alias_declaration name: (type_identifier) @type.definition) +(auto) @type.builtin + (namespace_identifier) @namespace ((namespace_identifier) @type (#lua-match? @type "^[A-Z]")) @@ -143,7 +146,6 @@ "co_await" "concept" "requires" - (auto) ] @keyword [ |
