mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
fix(cpp): remove @field for identifiers with _ prefix (#5731)
This commit is contained in:
parent
b8fbd13277
commit
ba588ee0cf
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
; inherits: c
|
; inherits: c
|
||||||
|
|
||||||
((identifier) @field
|
((identifier) @field
|
||||||
(#lua-match? @field "^m?_.*$"))
|
(#lua-match? @field "^m_.*$"))
|
||||||
|
|
||||||
(parameter_declaration
|
(parameter_declaration
|
||||||
declarator: (reference_declarator) @parameter)
|
declarator: (reference_declarator) @parameter)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue