You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have table_append_expression_no_space option that allows + operator not to be wrapped with spaces in statements like t[#t+1]. It would be nice to have more configurable space insertion
For example, don't insert spaces around math operators i^2+1 or exponentiation operator in particular i^2 + 1, don't insert spaces in expression in square brackets t[i+1], don't insert spaces in numeric for ranges for i = 1,7,2 and between multiple variables and/or values in general
a,b = 1,2
for k,v in next,t do print(k,v) end
Can any of these please be done? I usually use your language server to format lua code that after is pasted into another application, and since that application has not much space for code I try to write as compact as possible.
The text was updated successfully, but these errors were encountered:
Currently we have
table_append_expression_no_space
option that allows+
operator not to be wrapped with spaces in statements liket[#t+1]
. It would be nice to have more configurable space insertionFor example, don't insert spaces around math operators
i^2+1
or exponentiation operator in particulari^2 + 1
, don't insert spaces in expression in square bracketst[i+1]
, don't insert spaces in numeric for rangesfor i = 1,7,2
and between multiple variables and/or values in generalCan any of these please be done? I usually use your language server to format lua code that after is pasted into another application, and since that application has not much space for code I try to write as compact as possible.
The text was updated successfully, but these errors were encountered: