mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
highlights(cpp): Add operator cast highlight
See https://en.cppreference.com/w/cpp/language/cast_operator for reference.
This commit is contained in:
parent
82389e52b6
commit
68c36cc59f
1 changed files with 2 additions and 1 deletions
|
|
@ -61,6 +61,7 @@
|
|||
(#lua-match? @constructor "^[A-Z]"))
|
||||
|
||||
(operator_name) @function
|
||||
"operator" @function
|
||||
"static_assert" @function.builtin
|
||||
|
||||
(call_expression
|
||||
|
|
@ -71,7 +72,7 @@
|
|||
name: (qualified_identifier
|
||||
name: (identifier) @function)))
|
||||
(call_expression
|
||||
function:
|
||||
function:
|
||||
(qualified_identifier
|
||||
name: (qualified_identifier
|
||||
name: (qualified_identifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue