blob: 940ba7427f8a9398dc96df10c8203c0be5ee2943 [file] [log] [blame]
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00001" Vim filetype plugin file
Bram Moolenaarf2571c62015-06-09 19:44:55 +02002" Vim syntax file
3" Maintainer: Christian Brabandt <cb@256bit.org>
4" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
5" Latest Revision: 2015-05-29
6" License: Vim (see :h license)
7" Repository: https://github.com/chrisbra/vim-kconfig
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00008
9if exists("b:did_ftplugin")
10 finish
11endif
12let b:did_ftplugin = 1
13
Bram Moolenaare37d50a2008-08-06 17:06:04 +000014let s:cpo_save = &cpo
15set cpo&vim
16
Bram Moolenaar4c3f5362006-04-11 21:38:50 +000017let b:undo_ftplugin = "setl com< cms< fo<"
18
19setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
Bram Moolenaare37d50a2008-08-06 17:06:04 +000020
Bram Moolenaarf2571c62015-06-09 19:44:55 +020021" For matchit.vim
22if exists("loaded_matchit")
23 let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
24endif
25
Bram Moolenaare37d50a2008-08-06 17:06:04 +000026let &cpo = s:cpo_save
27unlet s:cpo_save