diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-29 18:34:49 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-29 20:42:16 -0400 |
commit | 09f3e62bc623dd3cbcbc708b019b55a8b9449de7 (patch) | |
tree | 5d8601e128af24b13a6c8e873ac4f0eef999a6f0 /runtime/ftplugin | |
parent | 0a0034718c00fd9f434d20d29e415287db284bbe (diff) | |
download | rneovim-09f3e62bc623dd3cbcbc708b019b55a8b9449de7.tar.gz rneovim-09f3e62bc623dd3cbcbc708b019b55a8b9449de7.tar.bz2 rneovim-09f3e62bc623dd3cbcbc708b019b55a8b9449de7.zip |
vim-patch:e7b1ea0276cc
Update runtime files.
https://github.com/vim/vim/commit/e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/vim.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim index ee189e39c0..9369f7c63c 100644 --- a/runtime/ftplugin/vim.vim +++ b/runtime/ftplugin/vim.vim @@ -86,7 +86,7 @@ endif if exists("loaded_matchit") let b:match_ignorecase = 0 let b:match_words = - \ '\<\%(fu\%[nction]\|def\)\>[^(]:\<retu\%[rn]\>:\<\%(endf\%[unction]\|enddef\)\>,' . + \ '\<\%(fu\%[nction]\|def\)\>)\@!:\<retu\%[rn]\>:\<\%(endf\%[unction]\|enddef\)\>,' . \ '\<\(wh\%[ile]\|for\)\>:\<brea\%[k]\>:\<con\%[tinue]\>:\<end\(w\%[hile]\|fo\%[r]\)\>,' . \ '\<if\>:\<el\%[seif]\>:\<en\%[dif]\>,' . \ '{:},' . |