fix(format): handle list with 300 nodes

This commit is contained in:
Phạm Huy Hoàng 2024-01-30 22:19:54 +07:00
parent e9602f4119
commit 5f950cdcb8
5 changed files with 7 additions and 23 deletions

View file

@ -277,9 +277,9 @@
))
; Builtin Funcs
; format-ignore
(call
(identifier) @function.builtin
; format-ignore
(#any-of? @function.builtin
; @GlobalScope
"abs" "absf" "absi" "acos" "asin" "atan" "atan2" "bezier_derivative"

View file

@ -165,8 +165,7 @@
"background"
"rounded"
"butt"
]*
@attribute)
]* @attribute)
; (t_canvas)
; (t_cgm)
@ -288,7 +287,6 @@
] @variable.member
; Workaround because formatter cannot handle 300 list nodes
; format-ignore
[
(angles)
(clip)

View file

@ -74,8 +74,7 @@
; ":::="
"?="
"!="
]?
@operator
]? @operator
"endef" @keyword)
(variable_assignment

View file

@ -116,8 +116,7 @@
[
"end"
"endfunction"
]?
@keyword.function)
]? @keyword.function)
(function_signature
name: (identifier) @function)