diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index d1fc95c..382cfaf 100644 --- a/.config/vim/vimrc.d/80-autocommands.vim +++ b/.config/vim/vimrc.d/80-autocommands.vim @@ -58,7 +58,7 @@ endif autocmd SourcePost termdebug.vim tnoremap " Adjust the colorcolumn together with &textwidth -autocmd OptionSet textwidth let &colorcolumn=&textwidth +autocmd OptionSet textwidth exec 'set cc=' . v:option_old . ' | set cc+=' . &tw " " Highlight word under cursor augroup highlight_current_word