diff options
| author | Phạm Huy Hoàng <hoangtun0810@gmail.com> | 2024-03-21 20:44:35 +0900 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-21 15:51:26 +0100 |
| commit | 722617e6726c1508adadf83d531f54987c703be0 (patch) | |
| tree | 951cdcf1cd2571647a3e5afdc11d6fae5e88b630 /queries/elm | |
| parent | feat(rust): improve indents (diff) | |
| download | nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.gz nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.bz2 nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.lz nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.xz nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.zst nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.zip | |
refactor(format): drop extra indentation for field
Diffstat (limited to 'queries/elm')
| -rw-r--r-- | queries/elm/highlights.scm | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/queries/elm/highlights.scm b/queries/elm/highlights.scm index 86351fe60..fc18566c9 100644 --- a/queries/elm/highlights.scm +++ b/queries/elm/highlights.scm @@ -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 ;---------- |
