mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
Fix C++ locals
This commit is contained in:
parent
fac9fef397
commit
0894b5d0bd
1 changed files with 3 additions and 7 deletions
|
|
@ -53,10 +53,9 @@
|
||||||
name: (scoped_identifier
|
name: (scoped_identifier
|
||||||
name: (identifier) @definition.function)) @scope
|
name: (identifier) @definition.function)) @scope
|
||||||
|
|
||||||
;; TODO!!
|
(function_declarator
|
||||||
;(function_declarator
|
declarator: (scoped_identifier
|
||||||
;declarator: (scoped_identifier
|
name: (identifier) @definition.function)) @scope
|
||||||
;name: (type_identifier) @definition.function)) @scope
|
|
||||||
|
|
||||||
(field_declaration
|
(field_declaration
|
||||||
declarator: (function_declarator
|
declarator: (function_declarator
|
||||||
|
|
@ -69,6 +68,3 @@
|
||||||
body: (_) @scope)
|
body: (_) @scope)
|
||||||
|
|
||||||
(catch_clause) @scope
|
(catch_clause) @scope
|
||||||
|
|
||||||
;(destructor_name
|
|
||||||
;name: (_) @constructor)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue