mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -04:00
refactor(format): drop extra indentation for field
This commit is contained in:
parent
c28396de30
commit
722617e672
140 changed files with 2146 additions and 2766 deletions
|
|
@ -67,9 +67,8 @@
|
|||
name: (identifier) @local.definition.method)
|
||||
|
||||
(local_variable_declaration
|
||||
declarator:
|
||||
(variable_declarator
|
||||
name: (identifier) @local.definition.var))
|
||||
declarator: (variable_declarator
|
||||
name: (identifier) @local.definition.var))
|
||||
|
||||
(enhanced_for_statement
|
||||
; for (var item : items) {
|
||||
|
|
@ -92,9 +91,8 @@
|
|||
(#has-ancestor? @local.definition.import import_declaration))
|
||||
|
||||
(field_declaration
|
||||
declarator:
|
||||
(variable_declarator
|
||||
name: (identifier) @local.definition.field))
|
||||
declarator: (variable_declarator
|
||||
name: (identifier) @local.definition.field))
|
||||
|
||||
; REFERENCES
|
||||
(identifier) @local.reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue