blob: 767490701bab8de7af4577dd79acd7d2fe928dcf [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
Christian Brabandt159dc0f2024-04-12 17:33:48 +01003" Maintainer: Christian Brabandt <cb@256bit.org>
4" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
5" Latest Revision: 2024-04-12
6" License: Vim (see :h license)
Bram Moolenaarf2571c62015-06-09 19:44:55 +02007" 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
Christian Brabandt159dc0f2024-04-12 17:33:48 +010014let b:undo_ftplugin = "setl inc< com< cms< fo<"
Bram Moolenaare37d50a2008-08-06 17:06:04 +000015
Christian Brabandt159dc0f2024-04-12 17:33:48 +010016setlocal include=source\\s\\+
Bram Moolenaar4c3f5362006-04-11 21:38:50 +000017setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
Bram Moolenaare37d50a2008-08-06 17:06:04 +000018
Bram Moolenaarf2571c62015-06-09 19:44:55 +020019" For matchit.vim
20if exists("loaded_matchit")
21 let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
22endif