From 3290cae39ba06d6bcef9c34c5224147523008312 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Wed, 4 May 2022 10:55:18 +0800 Subject: [PATCH] fix(vimchat): highlight selection on the fly --- bundle/vim-chat/autoload/chat/windows.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/vim-chat/autoload/chat/windows.vim b/bundle/vim-chat/autoload/chat/windows.vim index bc9218868..591dfb42a 100644 --- a/bundle/vim-chat/autoload/chat/windows.vim +++ b/bundle/vim-chat/autoload/chat/windows.vim @@ -116,7 +116,7 @@ function! chat#windows#open() abort elseif char ==# "\" let mouse_left_lnum = v:mouse_lnum let mouse_left_col = v:mouse_col - elseif char ==# "\" + elseif char ==# "\" || char ==# "\x80\xfd-" let mouse_left_release_lnum = v:mouse_lnum let mouse_left_relsese_col = v:mouse_col call s:high_pso(mouse_left_lnum, mouse_left_col, mouse_left_release_lnum, mouse_left_relsese_col)