mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -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: (identifier) @definition.function)) @scope
|
||||
|
||||
;; TODO!!
|
||||
;(function_declarator
|
||||
;declarator: (scoped_identifier
|
||||
;name: (type_identifier) @definition.function)) @scope
|
||||
(function_declarator
|
||||
declarator: (scoped_identifier
|
||||
name: (identifier) @definition.function)) @scope
|
||||
|
||||
(field_declaration
|
||||
declarator: (function_declarator
|
||||
|
|
@ -69,6 +68,3 @@
|
|||
body: (_) @scope)
|
||||
|
||||
(catch_clause) @scope
|
||||
|
||||
;(destructor_name
|
||||
;name: (_) @constructor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue