diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index ab4c353..7195d18 100644 --- a/.config/vim/vimrc.d/80-autocommands.vim +++ b/.config/vim/vimrc.d/80-autocommands.vim @@ -97,7 +97,7 @@ function! HighlightVisualSel() let w:visual_match_ids += [[ \ matchadd( \ 'CursorColumn', - \ '\V' . escape(@", '\'), + \ '\V' . substitute(escape(@", '\'), '\n', '\\n', 'g'), \ -1, \ -1, \ {'window': l:win}),