-
Notifications
You must be signed in to change notification settings - Fork 11
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
Indentation Problems #15
Comments
Thank you very much for the bug report, @devidasjadhav, especially then for the linked solution. I will look into this issue as soon as possible. |
I forgot to thank you for time saving solution made thanks a lot for this project. |
@InternetUnexplorer @devidasjadhav said (s)he used (probably) the Reindent Lines command. It seems that any text after an indent-changing keyword breaks the settings: This could be a really simple fix, I'll mess with the regex right now. |
Huh, this could be a problem with ST3 itself: regular expressions 101 seem to match the if a then
b()
elseif c then
d()
else -- damn you, ST3
e()
if x then -- woop
do
foo()
end -- of everything
y()
elseif z then -- tricky comment
_()
--[[ the ]] end -- is near
end |
I have used re-indent on previously written lua file it did failed to indent properly elseif blocks and braces at times
So I used solution mentioned in this
it seems issue is in "Indent.tmPreferences" file I fixed it and working fine now.
The text was updated successfully, but these errors were encountered: