mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
cpp: fix locals.scm from breaking change in tree-sitter-cpp
This commit is contained in:
parent
d4b6bda44e
commit
536179c8e2
1 changed files with 3 additions and 7 deletions
|
|
@ -16,14 +16,14 @@
|
|||
(identifier) @definition.var)
|
||||
|
||||
(struct_specifier
|
||||
name: (scoped_type_identifier
|
||||
name: (qualified_identifier
|
||||
name: (type_identifier) @definition.type))
|
||||
|
||||
(class_specifier
|
||||
name: (type_identifier) @definition.type)
|
||||
|
||||
(class_specifier
|
||||
name: (scoped_type_identifier
|
||||
name: (qualified_identifier
|
||||
name: (type_identifier) @definition.type))
|
||||
|
||||
(alias_declaration
|
||||
|
|
@ -49,12 +49,8 @@
|
|||
(template_method
|
||||
name: (field_identifier) @definition.method) @scope
|
||||
|
||||
(template_function
|
||||
name: (scoped_identifier
|
||||
name: (identifier) @definition.function)) @scope
|
||||
|
||||
(function_declarator
|
||||
declarator: (scoped_identifier
|
||||
declarator: (qualified_identifier
|
||||
name: (identifier) @definition.function)) @scope
|
||||
|
||||
(field_declaration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue