diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index 382cfaf..2cd732f 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 exec 'set cc=' . v:option_old . ' | set cc+=' . &tw +autocmd OptionSet textwidth exec 'set cc-=' . v:option_old . ' | set cc+=' . &tw " " Highlight word under cursor augroup highlight_current_word