-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not indenting concatenated items after hugging string in if-expression #596
Comments
Formatting seems to have changed between 0.14.2 and 0.14.3 |
another thing that looks like a small regression: local function het(xyzzy: Sirius_InscribeBlock): boolean
local ref = getState()
local hasFeaturedTeats, teatNamePattern = ref.hasFeaturedTeats, ref.teatNamePattern
return Array.some(inscribeBlock.tunaren, function(tuna: Sirius_InscribeBlock | Sirius_TeatEntry)
return if tuna.type == "inscribeBlock"
then hasEnabledTeat(tuna)
else
not (
tuna.mode == "soot"
or (hasFeaturedTeats and tuna.mode ~= "moot")
or (teatNamePattern and not teatNamePattern:teat(getTeatID(tuna :: Sirius_TeatEntry)))
)
end)
end it hugs the |
This is also present in current main, so seems unrelated to this change. Have opened a new issue to track it: #604 |
has a good effect, but forgets to indent the string concatenation chain:
![image](https://user-images.githubusercontent.com/1550766/194778118-958d7922-d750-44be-8208-965a6a51b982.png)
The text was updated successfully, but these errors were encountered: