Mercurial > vim
diff runtime/ftplugin/make.vim @ 4339:22fa3049e934
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 24 Apr 2013 18:51:19 +0200 |
parents | e63691e7c504 |
children | a23c883685cb |
line wrap: on
line diff
--- 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: 2006 Jun 17 +" Last Change: 2013 Apr 22 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -26,3 +26,8 @@ setlocal commentstring=#\ %s " Including files. let &l:include = '^\s*include' + +" For matchit.vim, suggested by Albert Netymk. +if exists("loaded_matchit") + let b:match_words = '\<if\(n\)\=\(eq\|def\)\>:\<else\>:\<endif\>,\<define\>:\<endef\>' +endif