diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-01 22:48:52 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-01 22:52:42 +0200 |
| commit | 31a5ec23ebef511ca89f7d24077e7a5624ed4c6e (patch) | |
| tree | e2b12957c84e122c723a6061352052d48b711ee0 /runtime/ftplugin | |
| parent | 2cdbbe50a4a695004adce50d7502869bb2410928 (diff) | |
| download | rneovim-31a5ec23ebef511ca89f7d24077e7a5624ed4c6e.tar.gz rneovim-31a5ec23ebef511ca89f7d24077e7a5624ed4c6e.tar.bz2 rneovim-31a5ec23ebef511ca89f7d24077e7a5624ed4c6e.zip | |
vim-patch:723dd946f948
Update runtime files.
https://github.com/vim/vim/commit/723dd946f94856be94a943876945fb1bd8169059
Diffstat (limited to 'runtime/ftplugin')
| -rw-r--r-- | runtime/ftplugin/make.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/make.vim b/runtime/ftplugin/make.vim index fb180c0e5f..bfa8703082 100644 --- a/runtime/ftplugin/make.vim +++ b/runtime/ftplugin/make.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Make " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2013 Apr 22 +" Last Change: 2019 Apr 02 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -27,7 +27,7 @@ setlocal commentstring=#\ %s " Including files. let &l:include = '^\s*include' -" For matchit.vim, suggested by Albert Netymk. +" For matchit.vim, suggested by Albert Netymk and Ken Takata. if exists("loaded_matchit") - let b:match_words = '\<if\(n\)\=\(eq\|def\)\>:\<else\>:\<endif\>,\<define\>:\<endef\>' + let b:match_words = '^ *ifn\=\(eq\|def\)\>:^ *else\(\s\+ifn\=\(eq\|def\)\)\=\>:^ *endif\>,\<define\>:\<endef\>,^!\s*if\(n\=def\)\=\>:^!\s*else\(if\(n\=def\)\=\)\=\>:^!\s*endif\>' endif |