Vim: column count for cpp for .h files

This commit is contained in:
DuckDuckWhale 2021-10-31 23:31:59 -07:00
parent 05fb0107ee
commit 6e0bdcd154
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,tex set noexpandtab colorcolumn=101 textwidth=100 autocmd FileType rust,c,cpp,java,tex set noexpandtab colorcolumn=101 textwidth=100
autocmd FileType markdown set noexpandtab colorcolumn=81 textwidth=80 autocmd FileType markdown set noexpandtab colorcolumn=81 textwidth=80
autocmd FileType markdown,tex set ai spell autocmd FileType markdown,tex set ai spell