Closed PriceHiller closed 8 months ago
Neovim supports editorconfig now, it has a builtin plugin for it. See :h editorconfig.
editorconfig
:h editorconfig
This change ensures editors pick up the correct indent_size (like Neovim) and set their indent sizing correctly.
indent_size
stylua.toml is using the indent size as 2, so I set all lua files to use an indent size of 2 as well in the editorconfig.
stylua.toml
It was driving me a tiny bit bonkers having to run :set shifwidth=2 on every lua file while working on something else 😄.
:set shifwidth=2
Neovim supports
editorconfig
now, it has a builtin plugin for it. See:h editorconfig
.This change ensures editors pick up the correct
indent_size
(like Neovim) and set their indent sizing correctly.stylua.toml
is using the indent size as 2, so I set all lua files to use an indent size of 2 as well in the editorconfig.It was driving me a tiny bit bonkers having to run
:set shifwidth=2
on every lua file while working on something else 😄.