all repos — dotfiles @ a52c2181fabe3eab31781b8d59101a84d6138a7f

my *nix dotfiles

config/nvim/ftplugin/nix.vim (view raw)

1augroup NixFmt
2    autocmd!
3    autocmd BufWritePost *.nix | silent! exec '!nixpkgs-fmt %' | silent! edit
4augroup END
5
6setlocal ts=2 sts=2 sw=2 expandtab