vim:aucmd: Support multi-line selection highlight
This commit is contained in:
@@ -97,7 +97,7 @@ function! HighlightVisualSel()
|
|||||||
let w:visual_match_ids += [[
|
let w:visual_match_ids += [[
|
||||||
\ matchadd(
|
\ matchadd(
|
||||||
\ 'CursorColumn',
|
\ 'CursorColumn',
|
||||||
\ '\V' . escape(@", '\'),
|
\ '\V' . substitute(escape(@", '\'), '\n', '\\n', 'g'),
|
||||||
\ -1,
|
\ -1,
|
||||||
\ -1,
|
\ -1,
|
||||||
\ {'window': l:win}),
|
\ {'window': l:win}),
|
||||||
|
|||||||
Reference in New Issue
Block a user