mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:94043780196c (#28831)
runtime(matchparen): fix :NoMatchParen not working (vim/vim#14797)
fixes: neovim/neovim#28828
9404378019
This commit is contained in:
parent
b3e0457403
commit
48c2ad5d2d
@ -1,6 +1,6 @@
|
|||||||
" Vim plugin for showing matching parens
|
" Vim plugin for showing matching parens
|
||||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
" 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>
|
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
|
|
||||||
" Exit quickly when:
|
" Exit quickly when:
|
||||||
@ -218,7 +218,7 @@ command NoMatchParen call s:NoMatchParen()
|
|||||||
|
|
||||||
func s:NoMatchParen()
|
func s:NoMatchParen()
|
||||||
let w = winnr()
|
let w = winnr()
|
||||||
noau windo silent! call matchdelete(3)
|
noau windo call s:Remove_Matches()
|
||||||
unlet! g:loaded_matchparen
|
unlet! g:loaded_matchparen
|
||||||
exe "noau ". w . "wincmd w"
|
exe "noau ". w . "wincmd w"
|
||||||
au! matchparen
|
au! matchparen
|
||||||
|
Loading…
Reference in New Issue
Block a user