diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-23 22:48:41 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 09:21:28 -0400 |
commit | d4b65fa6fb330a5a174bdc3a8a838cffa28b0859 (patch) | |
tree | 3b3f5e20196607933f32f2ae8d6cfdc117897fe7 /runtime/plugin | |
parent | 233292b0ba9fb5d60ef7b2973c3a778e9c12be0c (diff) | |
download | rneovim-d4b65fa6fb330a5a174bdc3a8a838cffa28b0859.tar.gz rneovim-d4b65fa6fb330a5a174bdc3a8a838cffa28b0859.tar.bz2 rneovim-d4b65fa6fb330a5a174bdc3a8a838cffa28b0859.zip |
vim-patch:1ff14ba24c4d
Update runtime files.
https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
Diffstat (limited to 'runtime/plugin')
-rw-r--r-- | runtime/plugin/matchparen.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim index 65b9fe57bf..59d33f4d4e 100644 --- a/runtime/plugin/matchparen.vim +++ b/runtime/plugin/matchparen.vim @@ -1,6 +1,6 @@ " Vim plugin for showing matching parens " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2018 Jul 3 +" Last Change: 2019 Oct 28 " Exit quickly when: " - this plugin was already loaded (or disabled) @@ -36,7 +36,7 @@ set cpo-=C " The function that is invoked (very often) to define a ":match" highlighting " for any matching paren. -function! s:Highlight_Matching_Pair() +func s:Highlight_Matching_Pair() " Remove any previous match. if exists('w:paren_hl_on') && w:paren_hl_on silent! call matchdelete(3) @@ -196,10 +196,10 @@ function! s:Highlight_Matching_Pair() endfunction " Define commands that will disable and enable the plugin. -command! DoMatchParen call s:DoMatchParen() -command! NoMatchParen call s:NoMatchParen() +command DoMatchParen call s:DoMatchParen() +command NoMatchParen call s:NoMatchParen() -func! s:NoMatchParen() +func s:NoMatchParen() let w = winnr() noau windo silent! call matchdelete(3) unlet! g:loaded_matchparen @@ -207,7 +207,7 @@ func! s:NoMatchParen() au! matchparen endfunc -func! s:DoMatchParen() +func s:DoMatchParen() runtime plugin/matchparen.vim let w = winnr() silent windo doau CursorMoved |