Vim: add colorcolumn for scripts

This commit is contained in:
DuckDuckWhale 2021-11-03 12:11:47 -07:00
parent 6e0bdcd154
commit 396624c6d5
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -8,7 +8,7 @@ filetype plugin indent on
syntax on
autocmd CmdwinEnter * noremap <buffer> <CR> <CR>
autocmd FileType rust,c,cpp,java,tex set noexpandtab colorcolumn=101 textwidth=100
autocmd FileType rust,c,cpp,java,tex,sh set noexpandtab colorcolumn=101 textwidth=100
autocmd FileType markdown set noexpandtab colorcolumn=81 textwidth=80
autocmd FileType markdown,tex set ai spell