aboutsummaryrefslogtreecommitdiffstats
path: root/queries/hack
diff options
context:
space:
mode:
authorPhạm Huy Hoàng <hoangtun0810@gmail.com>2024-03-21 20:44:35 +0900
committerChristian Clason <c.clason@uni-graz.at>2024-03-21 15:51:26 +0100
commit722617e6726c1508adadf83d531f54987c703be0 (patch)
tree951cdcf1cd2571647a3e5afdc11d6fae5e88b630 /queries/hack
parentfeat(rust): improve indents (diff)
downloadnvim-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/hack')
-rw-r--r--queries/hack/highlights.scm17
1 files changed, 7 insertions, 10 deletions
diff --git a/queries/hack/highlights.scm b/queries/hack/highlights.scm
index f561dfe36..35d71e722 100644
--- a/queries/hack/highlights.scm
+++ b/queries/hack/highlights.scm
@@ -195,20 +195,17 @@
(variable) @variable.parameter)
(call_expression
- function:
- (qualified_identifier
- (identifier) @function.call .))
+ function: (qualified_identifier
+ (identifier) @function.call .))
(call_expression
- function:
- (scoped_identifier
- (identifier) @function.call .))
+ function: (scoped_identifier
+ (identifier) @function.call .))
(call_expression
- function:
- (selection_expression
- (qualified_identifier
- (identifier) @function.method.call .)))
+ function: (selection_expression
+ (qualified_identifier
+ (identifier) @function.method.call .)))
(qualified_identifier
(_) @module