mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Fix cpp-highlights: wrong capture name used in regex
This commit is contained in:
parent
75bce1dc93
commit
2d224ac3bf
1 changed files with 2 additions and 3 deletions
|
|
@ -52,7 +52,7 @@
|
|||
((call_expression
|
||||
function: (field_expression
|
||||
field: (field_identifier) @constructor))
|
||||
(#match? @function "^[A-Z]"))
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
;; constructing a type in a intizializer list: Constructor (): **SuperType (1)**
|
||||
((field_initializer
|
||||
|
|
@ -64,8 +64,7 @@
|
|||
|
||||
; Constants
|
||||
|
||||
;(this) @constant.builtin
|
||||
(this) @keyword
|
||||
(this) @constant.builtin
|
||||
(nullptr) @constant
|
||||
|
||||
(true) @boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue