mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -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))
|
name: (identifier) @constructor))
|
||||||
(#match? @constructor "^[A-Z]"))
|
(#match? @constructor "^[A-Z]"))
|
||||||
|
|
||||||
|
(operator_name) @function
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (scoped_identifier
|
function: (scoped_identifier
|
||||||
name: (identifier) @function))
|
name: (identifier) @function))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue