mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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
|
|
@ -214,20 +214,18 @@
|
|||
|
||||
; The rest of it
|
||||
(var_declaration
|
||||
declarators:
|
||||
(var_declarators
|
||||
(var
|
||||
name: (identifier) @variable)))
|
||||
declarators: (var_declarators
|
||||
(var
|
||||
name: (identifier) @variable)))
|
||||
|
||||
(var_declaration
|
||||
declarators:
|
||||
(var_declarators
|
||||
(var
|
||||
"<" @punctuation.bracket
|
||||
.
|
||||
attribute: (attribute) @attribute
|
||||
.
|
||||
">" @punctuation.bracket)))
|
||||
declarators: (var_declarators
|
||||
(var
|
||||
"<" @punctuation.bracket
|
||||
.
|
||||
attribute: (attribute) @attribute
|
||||
.
|
||||
">" @punctuation.bracket)))
|
||||
|
||||
[
|
||||
"("
|
||||
|
|
|
|||
|
|
@ -1,14 +1,12 @@
|
|||
(var_declaration
|
||||
declarators:
|
||||
(var_declarators
|
||||
(var
|
||||
(identifier)) @local.definition.var))
|
||||
declarators: (var_declarators
|
||||
(var
|
||||
(identifier)) @local.definition.var))
|
||||
|
||||
(var_assignment
|
||||
variables:
|
||||
(assignment_variables
|
||||
(var
|
||||
(identifier) @local.definition.var) @local.definition.associated))
|
||||
variables: (assignment_variables
|
||||
(var
|
||||
(identifier) @local.definition.var) @local.definition.associated))
|
||||
|
||||
(arg
|
||||
name: (identifier) @local.definition.parameter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue