diff --git a/vim/.vimrc b/vim/.vimrc index 8a83bc7..4e54e39 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -8,7 +8,7 @@ filetype plugin indent on syntax on autocmd CmdwinEnter * noremap -autocmd FileType rust,c,java set noexpandtab colorcolumn=101 textwidth=100 +autocmd FileType rust,c,java,tex set noexpandtab colorcolumn=101 textwidth=100 autocmd FileType markdown set ai spell colorcolumn=81 textwidth=80 set encoding=utf-8