vimrc: no autocomments
This commit is contained in:
parent
359a41642f
commit
7c5b576eb1
@ -577,6 +577,11 @@ au BufNewFile,BufRead *.cshtml
|
||||
\ setlocal ft=csh tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
|
||||
\ textwidth=79 fileformat=unix conceallevel=0
|
||||
|
||||
" no autocomments, for example when entering insert mode above or below a
|
||||
" commented line
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
|
||||
|
||||
augroup line_too_long
|
||||
autocmd!
|
||||
autocmd winEnter,BufEnter * call clearmatches() | call matchadd('ColorColumn', '\%>80v', 100)
|
||||
|
Loading…
Reference in New Issue
Block a user