aboutsummaryrefslogtreecommitdiffstats
path: root/queries/r
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/r
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/r')
-rwxr-xr-xqueries/r/highlights.scm61
1 files changed, 29 insertions, 32 deletions
diff --git a/queries/r/highlights.scm b/queries/r/highlights.scm
index 1ce166ee0..784a54242 100755
--- a/queries/r/highlights.scm
+++ b/queries/r/highlights.scm
@@ -55,36 +55,34 @@
] @operator
(unary
- operator:
- [
- "-"
- "+"
- "!"
- "~"
- "?"
- ] @operator)
+ operator: [
+ "-"
+ "+"
+ "!"
+ "~"
+ "?"
+ ] @operator)
(binary
- operator:
- [
- "-"
- "+"
- "*"
- "/"
- "^"
- "<"
- ">"
- "<="
- ">="
- "=="
- "!="
- "||"
- "|"
- "&&"
- "&"
- ":"
- "~"
- ] @operator)
+ operator: [
+ "-"
+ "+"
+ "*"
+ "/"
+ "^"
+ "<"
+ ">"
+ "<="
+ ">="
+ "=="
+ "!="
+ "||"
+ "|"
+ "&&"
+ "&"
+ ":"
+ "~"
+ ] @operator)
[
"|>"
@@ -157,7 +155,6 @@
function: (identifier) @function.call))
(call
- function:
- (dollar
- _
- (identifier) @function.method.call))
+ function: (dollar
+ _
+ (identifier) @function.method.call))