mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -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
|
|
@ -78,11 +78,10 @@
|
|||
|
||||
(call
|
||||
receiver: (constant)? @type
|
||||
method:
|
||||
[
|
||||
(identifier)
|
||||
(constant)
|
||||
] @function.call)
|
||||
method: [
|
||||
(identifier)
|
||||
(constant)
|
||||
] @function.call)
|
||||
|
||||
(program
|
||||
(call
|
||||
|
|
@ -97,18 +96,16 @@
|
|||
(identifier) @function)
|
||||
|
||||
(method
|
||||
name:
|
||||
[
|
||||
(identifier) @function
|
||||
(constant) @type
|
||||
])
|
||||
name: [
|
||||
(identifier) @function
|
||||
(constant) @type
|
||||
])
|
||||
|
||||
(singleton_method
|
||||
name:
|
||||
[
|
||||
(identifier) @function
|
||||
(constant) @type
|
||||
])
|
||||
name: [
|
||||
(identifier) @function
|
||||
(constant) @type
|
||||
])
|
||||
|
||||
(class
|
||||
name: (constant) @type)
|
||||
|
|
|
|||
|
|
@ -42,18 +42,16 @@
|
|||
name: (constant) @local.definition.type)
|
||||
|
||||
(method
|
||||
name:
|
||||
[
|
||||
(identifier)
|
||||
(constant)
|
||||
] @local.definition.function)
|
||||
name: [
|
||||
(identifier)
|
||||
(constant)
|
||||
] @local.definition.function)
|
||||
|
||||
(singleton_method
|
||||
name:
|
||||
[
|
||||
(identifier)
|
||||
(constant)
|
||||
] @local.definition.function)
|
||||
name: [
|
||||
(identifier)
|
||||
(constant)
|
||||
] @local.definition.function)
|
||||
|
||||
(method_parameters
|
||||
(identifier) @local.definition.var)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue