diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim index aa4a22e..02514b7 100644 --- a/dot_config/nvim/init.vim +++ b/dot_config/nvim/init.vim @@ -48,6 +48,7 @@ set background=light set backspace=indent,eol,start set number set autoread +" set mouse=a set nobackup set nowb 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 terraform set expandtab let g:rustfmt_autosave = 1 +let g:terraform_fmt_on_save = 1 autocmd FileType html 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