summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/kconfig.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-09 19:44:55 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-09 19:44:55 +0200
commitf2571c61d5aa05682ae4d358e625348b61adc861 (patch)
treeaae56b60e5a0fe20ea3c106539c63926380b4178 /runtime/ftplugin/kconfig.vim
parentd0d0fe09cf95bf88f643ec07d07939cbd41f8e63 (diff)
downloadvim-git-f2571c61d5aa05682ae4d358e625348b61adc861.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/ftplugin/kconfig.vim')
-rw-r--r--runtime/ftplugin/kconfig.vim13
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/ftplugin/kconfig.vim b/runtime/ftplugin/kconfig.vim
index 1b10c86ae..940ba7427 100644
--- a/runtime/ftplugin/kconfig.vim
+++ b/runtime/ftplugin/kconfig.vim
@@ -1,6 +1,10 @@
" Vim filetype plugin file
-" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2008-07-09
+" Vim syntax file
+" Maintainer: Christian Brabandt <cb@256bit.org>
+" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
+" Latest Revision: 2015-05-29
+" License: Vim (see :h license)
+" Repository: https://github.com/chrisbra/vim-kconfig
if exists("b:did_ftplugin")
finish
@@ -14,5 +18,10 @@ let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
+" For matchit.vim
+if exists("loaded_matchit")
+ let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
+endif
+
let &cpo = s:cpo_save
unlet s:cpo_save