Vim: add colorcolumn for scripts
This commit is contained in:
parent
6e0bdcd154
commit
396624c6d5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user