mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -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
|
|
@ -3,9 +3,8 @@
|
|||
name: (identifier) @local.definition.import)
|
||||
|
||||
(use_declaration
|
||||
argument:
|
||||
(scoped_identifier
|
||||
name: (identifier) @local.definition.import))
|
||||
argument: (scoped_identifier
|
||||
name: (identifier) @local.definition.import))
|
||||
|
||||
(use_as_clause
|
||||
alias: (identifier) @local.definition.import)
|
||||
|
|
@ -19,9 +18,8 @@
|
|||
|
||||
(function_item
|
||||
name: (identifier) @local.definition.method
|
||||
parameters:
|
||||
(parameters
|
||||
(self_parameter)))
|
||||
parameters: (parameters
|
||||
(self_parameter)))
|
||||
|
||||
; Variables
|
||||
(parameter
|
||||
|
|
@ -37,9 +35,8 @@
|
|||
(identifier) @local.definition.var)
|
||||
|
||||
(let_condition
|
||||
pattern:
|
||||
(_
|
||||
(identifier) @local.definition.var))
|
||||
pattern: (_
|
||||
(identifier) @local.definition.var))
|
||||
|
||||
(tuple_struct_pattern
|
||||
(identifier) @local.definition.var)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue