for example ~/.editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
max_line_length = 120
tab_width = 2
[*.sql]
indent_size = 8
indent_style = tab
NeoVIM correctly renders 4 tabs, while VScode renders only 1 tab. If I change to spaces both render 8 spaces, last versions of all editors, plugins etc. macos.