mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -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
|
|
@ -97,40 +97,34 @@
|
|||
; Functions
|
||||
;----------
|
||||
(value_declaration
|
||||
functionDeclarationLeft:
|
||||
(function_declaration_left
|
||||
(lower_case_identifier) @function
|
||||
(pattern)))
|
||||
functionDeclarationLeft: (function_declaration_left
|
||||
(lower_case_identifier) @function
|
||||
(pattern)))
|
||||
|
||||
(value_declaration
|
||||
functionDeclarationLeft:
|
||||
(function_declaration_left
|
||||
(lower_case_identifier) @function
|
||||
pattern: (_)))
|
||||
functionDeclarationLeft: (function_declaration_left
|
||||
(lower_case_identifier) @function
|
||||
pattern: (_)))
|
||||
|
||||
(value_declaration
|
||||
functionDeclarationLeft:
|
||||
(function_declaration_left
|
||||
(lower_case_identifier) @function)
|
||||
functionDeclarationLeft: (function_declaration_left
|
||||
(lower_case_identifier) @function)
|
||||
body: (anonymous_function_expr))
|
||||
|
||||
(type_annotation
|
||||
name: (lower_case_identifier) @function
|
||||
typeExpression:
|
||||
(type_expression
|
||||
(arrow)))
|
||||
typeExpression: (type_expression
|
||||
(arrow)))
|
||||
|
||||
(port_annotation
|
||||
name: (lower_case_identifier) @function
|
||||
typeExpression:
|
||||
(type_expression
|
||||
(arrow)))
|
||||
typeExpression: (type_expression
|
||||
(arrow)))
|
||||
|
||||
(function_call_expr
|
||||
target:
|
||||
(value_expr
|
||||
(value_qid
|
||||
(lower_case_identifier) @function.call)))
|
||||
target: (value_expr
|
||||
(value_qid
|
||||
(lower_case_identifier) @function.call)))
|
||||
|
||||
; Operators
|
||||
;----------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue