diff --git a/nvim/init.vim b/nvim/init.vim index af7247d..e70f0e4 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -471,14 +471,14 @@ augroup indentation_defaults au BufRead,BufNewFile Makefile* set noexpandtab au BufNewFile,BufRead *.vim setlocal noet ts=4 sw=4 sts=4 au BufNewFile,BufRead *.txt setlocal noet ts=4 sw=4 - autocmd BufNewFile,BufRead *.lua setlocal noet ts=4 sw=4 sts=4 - autocmd BufNewFile,BufRead *.py setlocal tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab - autocmd FileType fstab,systemd set noexpandtab - autocmd FileType gitconfig,sh,toml set noexpandtab - autocmd BufRead,BufNewFile */gst-*/*.[ch] set et sw=2 - autocmd BufRead,BufNewFile */gstreamer-*/*.[ch] set et sw=2 - autocmd BufRead,BufNewFile */pulseaudio/*.[ch] set et sw=4 tw=128 - autocmd BufRead,BufNewFile *.purs set et sw=2 sts=2 si + au BufNewFile,BufRead *.lua setlocal noet ts=4 sw=4 sts=4 + au BufNewFile,BufRead *.py setlocal tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab + au BufRead,BufNewFile */gst-*/*.[ch] set et sw=2 + au BufRead,BufNewFile */gstreamer-*/*.[ch] set et sw=2 + au BufRead,BufNewFile */pulseaudio/*.[ch] set et sw=4 tw=128 + au BufRead,BufNewFile *.purs set et sw=2 sts=2 si + au FileType fstab,systemd set noexpandtab + au FileType gitconfig,sh,toml set noexpandtab augroup END augroup spell_check