mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
Fix cpp-highlights: wrong capture name used in regex
This commit is contained in:
committed by
Thomas Vigouroux
parent
75bce1dc93
commit
2d224ac3bf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user