vimrc: additional file type configs
This commit is contained in:
parent
90d0773655
commit
f09b5e4e28
@ -9,6 +9,8 @@ au BufNewFile,BufRead *.go set tabstop=4 softtabstop=4 shiftwidth=4
|
||||
\ expandtab autoindent fileformat=unix
|
||||
au BufNewFile,BufRead *.toml set tabstop=4 softtabstop=4 shiftwidth=4
|
||||
\ expandtab autoindent fileformat=unix
|
||||
au BufNewFile,BufRead *.json set tabstop=2 softtabstop=2 shiftwidth=2
|
||||
\ expandtab autoindent fileformat=unix
|
||||
au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2
|
||||
\ expandtab autoindent fileformat=unix
|
||||
au BufNewFile,BufRead *.html,*.css set tabstop=2 softtabstop=2 shiftwidth=2
|
||||
@ -34,7 +36,9 @@ augroup sh
|
||||
autocmd FileType sh :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix
|
||||
augroup end
|
||||
autocmd FileType dockerfile :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
||||
autocmd FileType nginx :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix
|
||||
autocmd FileType gitcommit :set spell
|
||||
autocmd FileType markdown :set spell
|
||||
" vim-plug
|
||||
" :PlugInstall to install new one
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
Loading…
x
Reference in New Issue
Block a user