diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index 83618ec..72a80bf 100644 --- a/.config/vim/vimrc.d/80-autocommands.vim +++ b/.config/vim/vimrc.d/80-autocommands.vim @@ -56,3 +56,6 @@ endif " Custom bindings when debugging autocmd SourcePost termdebug.vim tnoremap + +" Adjust the colorcolumn together with &textwidth +autocmd OptionSet textwidth let &colorcolumn=&textwidth