auto format terraform on save, remove mouse comment
parent
be1dd3b329
commit
1208a34ba8
|
@ -48,6 +48,7 @@ set background=light
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set number
|
set number
|
||||||
set autoread
|
set autoread
|
||||||
|
" set mouse=a
|
||||||
set nobackup
|
set nobackup
|
||||||
set nowb
|
set nowb
|
||||||
set noswapfile
|
set noswapfile
|
||||||
|
@ -62,6 +63,7 @@ autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=0
|
||||||
autocmd FileType rust set shiftwidth=4 softtabstop=4 tabstop=4
|
autocmd FileType rust set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
autocmd FileType terraform set expandtab
|
autocmd FileType terraform set expandtab
|
||||||
let g:rustfmt_autosave = 1
|
let g:rustfmt_autosave = 1
|
||||||
|
let g:terraform_fmt_on_save = 1
|
||||||
autocmd FileType html set shiftwidth=4 softtabstop=4 tabstop=4
|
autocmd FileType html set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
autocmd FileType javascript set shiftwidth=4 softtabstop=4 tabstop=4
|
autocmd FileType javascript set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
autocmd FileType htmldjango set shiftwidth=4 softtabstop=4 tabstop=4
|
autocmd FileType htmldjango set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
|
|
Loading…
Reference in New Issue