CppCXY / EmmyLuaCodeStyle

fast, powerful, and feature-rich Lua formatting and checking tool.
MIT License
138 stars 26 forks source link

Indent size of 2 is not respected (vs code) #171

Closed hitwill closed 4 months ago

hitwill commented 4 months ago

With the settings like this:

# optional space/tab
indent_style = space
# if indent_style is space, this is valid
indent_size = 2
# if indent_style is tab, this is valid
tab_width = 2

The code still indents like this: (four spaces)

if true then
    print('true')
    print('ok')
end
hitwill commented 4 months ago

Problem was in VS Code settings: Editor: Tab Size was overriding lua settings