do not set textwidth for text files

This commit is contained in:
Josh Holtrop 2019-12-03 13:15:36 -05:00
parent 1b4ec5dc5b
commit df5d59cf6d

2
vimrc
View File

@ -139,7 +139,7 @@ if has("autocmd")
autocmd FileType xml setlocal sw=2 ts=2 sts=2 autocmd FileType xml setlocal sw=2 ts=2 sts=2
autocmd FileType yaml setlocal sw=2 ts=2 sts=2 autocmd FileType yaml setlocal sw=2 ts=2 sts=2
autocmd FileType sh setlocal sw=2 ts=2 sts=2 autocmd FileType sh setlocal sw=2 ts=2 sts=2
autocmd FileType text setlocal textwidth=78 "autocmd FileType text setlocal textwidth=78
autocmd FileType gitolite setlocal sw=2 ts=2 sts=2 autocmd FileType gitolite setlocal sw=2 ts=2 sts=2
autocmd BufRead,BufNewFile *.icf set syntax=cpp autocmd BufRead,BufNewFile *.icf set syntax=cpp
autocmd BufRead,BufNewFile *.cxl set syntax=cpp autocmd BufRead,BufNewFile *.cxl set syntax=cpp