mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
C++ locals: Add reference_declarator (analogous to pointer_declarator for C locals)
This commit is contained in:
committed by
Thomas Vigouroux
parent
e4cd88baa4
commit
07cd0b4d8c
@@ -3,6 +3,8 @@
|
||||
(class_specifier) @scope
|
||||
(struct_specifier) @scope
|
||||
|
||||
(reference_declarator
|
||||
(identifier) @definition.var)
|
||||
|
||||
(struct_specifier
|
||||
name: (type_identifier) @definition.type)
|
||||
|
||||
Reference in New Issue
Block a user