aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
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 'scripts')
-rwxr-xr-xscripts/format-queries.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/format-queries.lua b/scripts/format-queries.lua
index 1bc7532b8..f5b129cde 100755
--- a/scripts/format-queries.lua
+++ b/scripts/format-queries.lua
@@ -201,16 +201,6 @@ local format_queries = [[
;; Workaround to just use the string's content
(anonymous_node (identifier) @format.keep)
-(field_definition
- name: (_)
- ":" @format.indent.begin @format.append-newline ; suppress trailing whitespaces with forced newlines
- [
- (named_node [ (named_node) (list) (grouping) (anonymous_node) (field_definition) ])
- (list "[" . (_) . (_) "]")
- (grouping "(" . (_) . (_) ")")
- (grouping
- quantifier: (quantifier))
- ])
; ( (_) ) handler
(grouping