mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
feat(C++ highlights): highlight operator_name as function
This commit is contained in:
parent
985c5def34
commit
39d5b97bc5
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@
|
|||
name: (identifier) @constructor))
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
(operator_name) @function
|
||||
|
||||
(call_expression
|
||||
function: (scoped_identifier
|
||||
name: (identifier) @function))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue