2014-07-10 21:05:51 -07:00
|
|
|
" Vim filetype plugin file
|
2015-11-07 19:35:37 -07:00
|
|
|
" Vim syntax file
|
2024-04-13 02:28:32 -07:00
|
|
|
" Maintainer: Christian Brabandt <cb@256bit.org>
|
|
|
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
|
|
" Latest Revision: 2024-04-12
|
|
|
|
" License: Vim (see :h license)
|
2015-11-07 19:35:37 -07:00
|
|
|
" Repository: https://github.com/chrisbra/vim-kconfig
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("b:did_ftplugin")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
2024-04-13 02:28:32 -07:00
|
|
|
let b:undo_ftplugin = "setl inc< com< cms< fo<"
|
2014-07-10 21:05:51 -07:00
|
|
|
|
2024-04-13 02:28:32 -07:00
|
|
|
setlocal include=source\\s\\+
|
2014-07-10 21:05:51 -07:00
|
|
|
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
|
|
|
|
2015-11-07 19:35:37 -07:00
|
|
|
" For matchit.vim
|
|
|
|
if exists("loaded_matchit")
|
|
|
|
let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
|
|
|
|
endif
|