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/scala | |
| 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/scala')
| -rw-r--r-- | queries/scala/highlights.scm | 5 | ||||
| -rw-r--r-- | queries/scala/locals.scm | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/queries/scala/highlights.scm b/queries/scala/highlights.scm index 74fde4ea9..45ef1ada4 100644 --- a/queries/scala/highlights.scm +++ b/queries/scala/highlights.scm @@ -97,9 +97,8 @@ function: (operator_identifier) @function.call) (call_expression - function: - (field_expression - field: (identifier) @function.method.call)) + function: (field_expression + field: (identifier) @function.method.call)) ((call_expression function: (identifier) @constructor) diff --git a/queries/scala/locals.scm b/queries/scala/locals.scm index 0ba019cf8..7128a4984 100644 --- a/queries/scala/locals.scm +++ b/queries/scala/locals.scm @@ -43,8 +43,7 @@ name: (identifier) @local.definition.var) (for_expression - enumerators: - (enumerators - (enumerator - (tuple_pattern - (identifier) @local.definition.var)))) + enumerators: (enumerators + (enumerator + (tuple_pattern + (identifier) @local.definition.var)))) |
