vimrc: highlight column 80 (long lines)

This commit is contained in:
surtur 2022-08-09 17:41:25 +02:00
parent 945e50ef02
commit 359a41642f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -577,6 +577,10 @@ au BufNewFile,BufRead *.cshtml
\ setlocal ft=csh tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
\ textwidth=79 fileformat=unix conceallevel=0
augroup line_too_long
autocmd!
autocmd winEnter,BufEnter * call clearmatches() | call matchadd('ColorColumn', '\%>80v', 100)
augroup END
augroup async_plug_load
autocmd!