mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Change cursor end when double clicking close
This commit is contained in:
@@ -207,6 +207,9 @@ function! matchup#text_obj#double_click() " {{{1
|
||||
call matchup#pos#set_cursor(l:open)
|
||||
normal! v
|
||||
call matchup#pos#set_cursor(l:lnum, l:cnum)
|
||||
if l:delim.side ==# 'close'
|
||||
normal! o
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" }}}1
|
||||
|
||||
Reference in New Issue
Block a user