From eab6dff19f387469a200011bc6cf3508f5e43a4a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 1 Mar 2020 19:06:45 +0100 Subject: Update runtime files --- runtime/pack/dist/opt/matchit/autoload/matchit.vim | 4 +++- runtime/pack/dist/opt/matchit/doc/matchit.txt | 2 +- runtime/pack/dist/opt/matchit/plugin/matchit.vim | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'runtime/pack') 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\" 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 -- cgit v1.2.3