vim:autocmd: Adjust colorcolumn with &textwidth

This commit is contained in:
2022-02-16 00:54:19 +01:00
parent 2cd147cc32
commit a98457e66b

View File

@@ -56,3 +56,6 @@ endif
" Custom bindings when debugging
autocmd SourcePost termdebug.vim tnoremap <Esc> <C-\><C-n>
" Adjust the colorcolumn together with &textwidth
autocmd OptionSet textwidth let &colorcolumn=&textwidth