diff --git a/.vim/vimrc b/.vim/vimrc index a447450..3d63ccb 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -570,6 +570,8 @@ au FileType cpp " \ textwidth=79 fileformat=unix +au FileType tex setlocal tabstop=2 + au BufNewFile,BufRead,BufEnter *.tex \ setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab autoindent \ textwidth=79 fileformat=unix conceallevel=0