CppCXY / EmmyLuaCodeStyle

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

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

Closed skyf0xx closed 6 months ago

skyf0xx commented 6 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
skyf0xx commented 6 months ago

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