Update runtime files

This commit is contained in:
Bram Moolenaar
2020-03-01 19:06:45 +01:00
parent f51cb4e08e
commit eab6dff19f
12 changed files with 460 additions and 150 deletions

View File

@ -1,6 +1,6 @@
" matchit.vim: (global plugin) Extended "%" matching
" autload script of matchit plugin, see ../plugin/matchit.vim
" Last Change: 2019 Oct 24
" Last Change: Mar 01, 2020
let s:last_mps = ""
let s:last_words = ":"
@ -48,6 +48,8 @@ function matchit#Match_wrapper(word, forward, mode) range
execute "normal! gv\<Esc>"
elseif a:mode == "o" && mode(1) !~# '[vV]'
exe "norm! v"
elseif a:mode == "n" && mode(1) =~# 'ni'
exe "norm! v"
endif
" In s:CleanUp(), we may need to check whether the cursor moved forward.
let startpos = [line("."), col(".")]