refactor(format): drop extra indentation for field

This commit is contained in:
Phạm Huy Hoàng 2024-03-21 20:44:35 +09:00 committed by Christian Clason
parent c28396de30
commit 722617e672
140 changed files with 2146 additions and 2766 deletions

View file

@ -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)

View file

@ -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)