diff --git a/modules/home/neovim/autocmd.nix b/modules/home/neovim/autocmd.nix index 6129db7..3776458 100644 --- a/modules/home/neovim/autocmd.nix +++ b/modules/home/neovim/autocmd.nix @@ -23,6 +23,12 @@ pattern = "*"; command = "normal zR"; } + { + event = "FileType"; + group = "Christoph"; + pattern = "*.ex,*.exs,*.heex"; + command = "setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2"; + } ]; }; }