Skip to content
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

关于括号嵌套的格式化有些问题 #24

Closed
qiulaohu-cn opened this issue Feb 24, 2022 · 3 comments
Closed

关于括号嵌套的格式化有些问题 #24

qiulaohu-cn opened this issue Feb 24, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@qiulaohu-cn
Copy link

使用环境是cocoslua
应该是这样的
image
使用格式化后的样式
image

@CppCXY CppCXY added the bug Something isn't working label Feb 24, 2022
@CppCXY
Copy link
Owner

CppCXY commented Feb 24, 2022

这个bug出现在函数单参数的情况下

@CppCXY
Copy link
Owner

CppCXY commented Feb 24, 2022

我下午会改好

CppCXY added a commit that referenced this issue Feb 24, 2022
@CppCXY
Copy link
Owner

CppCXY commented Feb 24, 2022

bug已经修复等下次sumneko lua更新的时候就有效了。
现在你可以采用选项 align_call_args = true 缓解这个状况,
或者安装EmmyluaCodeStyle插件立即获得这次更新。

@CppCXY CppCXY closed this as completed Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants