File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" Vim filetype plugin file
22" 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)
3+ " 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)
77" Repository: https://github.com/chrisbra/vim-kconfig
88
99if exists (" b:did_ftplugin" )
1010 finish
1111endif
1212let b: did_ftplugin = 1
1313
14- let s: cpo_save = &cpo
15- set cpo &vim
16-
17- let b: undo_ftplugin = " setl com< cms< fo<"
14+ let b: undo_ftplugin = " setl inc< com< cms< fo<"
1815
16+ setlocal include = source \\ s \\ +
1917setlocal comments = :# commentstring = #\ % s formatoptions -= t formatoptions += croql
2018
2119" For matchit.vim
2220if exists (" loaded_matchit" )
2321 let b: match_words = ' ^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
2422endif
25-
26- let &cpo = s: cpo_save
27- unlet s: cpo_save
You can’t perform that action at this time.
0 commit comments