diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-05-18 14:55:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 08:55:49 +0200 |
commit | 94043780196cc66d23eeec10e2c722c6552324e0 (patch) | |
tree | 9b6955229343d324e30f0fff0c54c758e4bd8e00 /runtime/plugin/matchparen.vim | |
parent | 8e4c4c7d87def2b100a5d64dc518ef85d9de8765 (diff) |
runtime(matchparen): fix :NoMatchParen not working (#14797)
fixes: neovim/neovim#28828
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/plugin/matchparen.vim')
-rw-r--r-- | runtime/plugin/matchparen.vim | 4 |
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 |