nvim: init.vim: Cleanup indentation defaults autocmd group

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-12-28 11:29:08 +05:30
parent 13d5041a8a
commit df3b9f5b0b
1 changed files with 8 additions and 8 deletions

View File

@ -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