aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-18 15:53:26 +0800
committerGitHub <noreply@github.com>2024-05-18 15:53:26 +0800
commit48c2ad5d2d79a314502b11c868045d28bc23efab (patch)
treeab1d8566c6a55f376a564c75766e5819913723ef /runtime/plugin
parentb3e04574037eb01b370d95622ea6c3e7e7f4725b (diff)
downloadrneovim-48c2ad5d2d79a314502b11c868045d28bc23efab.tar.gz
rneovim-48c2ad5d2d79a314502b11c868045d28bc23efab.tar.bz2
rneovim-48c2ad5d2d79a314502b11c868045d28bc23efab.zip
vim-patch:94043780196c (#28831)
runtime(matchparen): fix :NoMatchParen not working (vim/vim#14797) fixes: neovim/neovim#28828 https://github.com/vim/vim/commit/94043780196cc66d23eeec10e2c722c6552324e0
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/matchparen.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim
index 96c54ee6d8..6c061c9fb8 100644
--- a/runtime/plugin/matchparen.vim
+++ b/runtime/plugin/matchparen.vim
@@ -1,6 +1,6 @@
" Vim plugin for showing matching parens
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2023 Oct 20
+" Last Change: 2024 May 18
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Exit quickly when:
@@ -218,7 +218,7 @@ command NoMatchParen call s:NoMatchParen()
func s:NoMatchParen()
let w = winnr()
- noau windo silent! call matchdelete(3)
+ noau windo call s:Remove_Matches()
unlet! g:loaded_matchparen
exe "noau ". w . "wincmd w"
au! matchparen