diff --git a/.config/vim/vim_uni b/.config/vim/vim_uni index 5d557b0..e962d16 100644 --- a/.config/vim/vim_uni +++ b/.config/vim/vim_uni @@ -90,7 +90,7 @@ augroup END " ----- indent for corresponding extension autocmd BufEnter *.py set ai sw=4 ts=4 sta et fo=croql " in C files, tabs looks like 4 spaces, but it's actually tabs -autocmd BufEnter *.c set ai sw=4 ts=4 sta noet fo=croql +autocmd Filetype c set ai sw=4 ts=4 sta noet fo=croql autocmd BufEnter *.md set ai sw=3 ts=3 sta et fo=croql autocmd Filetype html* set ai sw=4 ts=4 sta et fo=croql autocmd Filetype *css set ai sw=4 ts=4 sta et fo=croql