mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
C/C++ locals: Make field_identifier a reference
This commit is contained in:
parent
6f771507a8
commit
e2671f8d87
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,8 @@
|
|||
|
||||
;; References
|
||||
(identifier) @reference
|
||||
((field_identifier) @reference
|
||||
(set! reference.kind "field"))
|
||||
((type_identifier) @reference
|
||||
(set! reference.kind "type"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue