diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-01 19:06:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-01 19:06:45 +0100 |
commit | eab6dff19f387469a200011bc6cf3508f5e43a4a (patch) | |
tree | ca478c342a695a07cfb7234324cecf2b714ec7b1 /runtime/pack/dist/opt/matchit | |
parent | f51cb4e08ef904d137c27fe7cddb4702d8dcb2a2 (diff) |
Update runtime files
Diffstat (limited to 'runtime/pack/dist/opt/matchit')
-rw-r--r-- | runtime/pack/dist/opt/matchit/autoload/matchit.vim | 4 | ||||
-rw-r--r-- | runtime/pack/dist/opt/matchit/doc/matchit.txt | 2 | ||||
-rw-r--r-- | runtime/pack/dist/opt/matchit/plugin/matchit.vim | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/runtime/pack/dist/opt/matchit/autoload/matchit.vim b/runtime/pack/dist/opt/matchit/autoload/matchit.vim index f56e9e223d..4f3dd8ff9e 100644 --- a/runtime/pack/dist/opt/matchit/autoload/matchit.vim +++ b/runtime/pack/dist/opt/matchit/autoload/matchit.vim @@ -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(".")] diff --git a/runtime/pack/dist/opt/matchit/doc/matchit.txt b/runtime/pack/dist/opt/matchit/doc/matchit.txt index 689278a902..f2c51e10b2 100644 --- a/runtime/pack/dist/opt/matchit/doc/matchit.txt +++ b/runtime/pack/dist/opt/matchit/doc/matchit.txt @@ -4,7 +4,7 @@ For instructions on installing this file, type `:help matchit-install` inside Vim. -For Vim version 8.1. Last change: 2019 Oct 24 +For Vim version 8.1. Last change: 2020 Mar 01 VIM REFERENCE MANUAL by Benji Fisher et al diff --git a/runtime/pack/dist/opt/matchit/plugin/matchit.vim b/runtime/pack/dist/opt/matchit/plugin/matchit.vim index 4d0f4e014a..b62cc3913a 100644 --- a/runtime/pack/dist/opt/matchit/plugin/matchit.vim +++ b/runtime/pack/dist/opt/matchit/plugin/matchit.vim @@ -1,6 +1,6 @@ " matchit.vim: (global plugin) Extended "%" matching " Maintainer: Christian Brabandt -" Version: 1.16 +" Version: 1.17 " Last Change: 2019 Oct 24 " Repository: https://github.com/chrisbra/matchit " Previous URL:http://www.vim.org/script.php?script_id=39 |