Vim: add indentation and wrapping for tex files

This commit is contained in:
DuckDuckWhale 2021-10-13 15:24:09 -07:00
parent 77ec97ffdb
commit 49bba490c5
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -8,7 +8,7 @@ filetype plugin indent on
syntax on syntax on
autocmd CmdwinEnter * noremap <buffer> <CR> <CR> autocmd CmdwinEnter * noremap <buffer> <CR> <CR>
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 autocmd FileType markdown set ai spell colorcolumn=81 textwidth=80
set encoding=utf-8 set encoding=utf-8