mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(cpp): auto as @type.builtin
This commit is contained in:
parent
4b99343d6e
commit
4e21b50fbd
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue