robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:4335fcf: runtime(kconfig): updated ftplugin and syntax script855a2a75e6

master
687 B23 linesraw
1" Vim filetype plugin file
2" Vim syntax file
3" Maintainer:		Christian Brabandt <cb@256bit.org>
4" Previous Maintainer:	Nikolai Weibull <now@bitwi.se>
5" Latest Revision:	2025 Jan 20
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 b:undo_ftplugin = "setl inc< com< cms< fo<"
15
16setlocal include=source\\s\\+
17setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
18
19" For matchit.vim
20if exists("loaded_matchit")
21  let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
22  let b:undo_ftplugin .= "| unlet! b:match_words"
23endif