1" Vim filetype plugin file 2" Vim syntax file 3" Maintainer: Christian Brabandt <[email protected]> 4" Previous Maintainer: Nikolai Weibull <[email protected]> 5" Latest Revision: 2015-05-29 6" License: Vim (see :h license) 7" Repository: https://github.com/chrisbra/vim-kconfig 8 9if exists("b:did_ftplugin") 10 finish 11endif 12let b:did_ftplugin = 1 13 14let s:cpo_save = &cpo 15set cpo&vim 16 17let b:undo_ftplugin = "setl com< cms< fo<" 18 19setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 20 21" For matchit.vim 22if exists("loaded_matchit") 23 let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>' 24endif 25 26let &cpo = s:cpo_save 27unlet s:cpo_save 28