nvim: init.vim: Cleanup indentation defaults autocmd group
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
13d5041a8a
commit
df3b9f5b0b
1 changed files with 8 additions and 8 deletions
|
@ -471,14 +471,14 @@ augroup indentation_defaults
|
||||||
au BufRead,BufNewFile Makefile* set noexpandtab
|
au BufRead,BufNewFile Makefile* set noexpandtab
|
||||||
au BufNewFile,BufRead *.vim setlocal noet ts=4 sw=4 sts=4
|
au BufNewFile,BufRead *.vim setlocal noet ts=4 sw=4 sts=4
|
||||||
au BufNewFile,BufRead *.txt setlocal noet ts=4 sw=4
|
au BufNewFile,BufRead *.txt setlocal noet ts=4 sw=4
|
||||||
autocmd BufNewFile,BufRead *.lua setlocal noet ts=4 sw=4 sts=4
|
au 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
|
au BufNewFile,BufRead *.py setlocal tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab
|
||||||
autocmd FileType fstab,systemd set noexpandtab
|
au BufRead,BufNewFile */gst-*/*.[ch] set et sw=2
|
||||||
autocmd FileType gitconfig,sh,toml set noexpandtab
|
au BufRead,BufNewFile */gstreamer-*/*.[ch] set et sw=2
|
||||||
autocmd BufRead,BufNewFile */gst-*/*.[ch] set et sw=2
|
au BufRead,BufNewFile */pulseaudio/*.[ch] set et sw=4 tw=128
|
||||||
autocmd BufRead,BufNewFile */gstreamer-*/*.[ch] set et sw=2
|
au BufRead,BufNewFile *.purs set et sw=2 sts=2 si
|
||||||
autocmd BufRead,BufNewFile */pulseaudio/*.[ch] set et sw=4 tw=128
|
au FileType fstab,systemd set noexpandtab
|
||||||
autocmd BufRead,BufNewFile *.purs set et sw=2 sts=2 si
|
au FileType gitconfig,sh,toml set noexpandtab
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
augroup spell_check
|
augroup spell_check
|
||||||
|
|
Loading…
Reference in a new issue