We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
一个最小demo如下:
local count=2 if (count > 1) then local prePrice = 200 -- print(prePrice) else print(count) end
使用本插件格式化后,注释的那句print会与上面的"local prePrice = 200"交换位置,如果此时放开注释,就会出现"prePrice"为空的错误,严重影响调试,奇怪的是把else分支去掉后,就没有这个bug了
The text was updated successfully, but these errors were encountered:
這個是luaFmt插件的BUG,我試下看能不能修復。
Sorry, something went wrong.
No branches or pull requests
一个最小demo如下:
使用本插件格式化后,注释的那句print会与上面的"local prePrice = 200"交换位置,如果此时放开注释,就会出现"prePrice"为空的错误,严重影响调试,奇怪的是把else分支去掉后,就没有这个bug了
The text was updated successfully, but these errors were encountered: