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
I am using CodeStyle as part of LuaLS in vscode Lua (v3.10.6) on windows 10 with no other extensions enabled.
I am wanting continuation_indent.in_expr = 0 to disable this rule, however it reverts to the default of 4.
It is not clear why a value of 0 does not work, and there does not appear to be any other way to disable it.
The same applies to continuation_indent and .in_table and .before_block
Here is the .luarc.json being used.
Below is the editor config and lua code being tested:
This image shows how the value has reverted back to the default of 4.
This image shows how setting it to any other value such as continuation_indent.in_expr = 7 works fine:
The text was updated successfully, but these errors were encountered:
I am using CodeStyle as part of LuaLS in vscode Lua (v3.10.6) on windows 10 with no other extensions enabled.
I am wanting
continuation_indent.in_expr = 0
to disable this rule, however it reverts to the default of 4.It is not clear why a value of 0 does not work, and there does not appear to be any other way to disable it.
The same applies to
continuation_indent
and.in_table
and.before_block
Here is the .luarc.json being used.
Below is the editor config and lua code being tested:
This image shows how the value has reverted back to the default of 4.
![image](https://private-user-images.githubusercontent.com/25043174/371713041-b32ccf12-e4d9-4377-982f-893baef6caa1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0OTUyOTQsIm5iZiI6MTczOTQ5NDk5NCwicGF0aCI6Ii8yNTA0MzE3NC8zNzE3MTMwNDEtYjMyY2NmMTItZTRkOS00Mzc3LTk4MmYtODkzYmFlZjZjYWExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAxMDMxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyZTMwYmMxYzVlYTc1ODNiOTg5NjY4YzIzZWNkMzQ4M2E2OGFjY2UzNzBmZjFjZjZiYzIyMjNiMzA1ODYxNjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pZYuohq8ILn9nzAm2Y7zGzYr-bB4fzurxrdg1f4XXww)
![image](https://private-user-images.githubusercontent.com/25043174/371713244-7a835132-3bb5-46f8-947f-4226ad1aa68d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0OTUyOTQsIm5iZiI6MTczOTQ5NDk5NCwicGF0aCI6Ii8yNTA0MzE3NC8zNzE3MTMyNDQtN2E4MzUxMzItM2JiNS00NmY4LTk0N2YtNDIyNmFkMWFhNjhkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAxMDMxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE4NDU1YjhkNjkwMDFjYzBlZDgwYjNkMzZhY2ZkYTYzNTVmMDA5MzI2OTNkMGFjZDQ1ZGIzZWVlMTY2NzZlNDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rnNI_wCBy1t1UEZjystJPl9Ll4sCl-8mhsS0XDauMPU)
This image shows how setting it to any other value such as
continuation_indent.in_expr = 7
works fine:The text was updated successfully, but these errors were encountered: