Mercurial > vim
annotate runtime/ftplugin/kconfig.vim @ 35198:8cb8025670aa default tip
Added tag v9.1.0418 for changeset ffa6ed03a9f2718c1c898c53de7dfe0860986ae3
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 17 May 2024 19:00:05 +0200 |
parents | 1ddd65fbc10c |
children |
rev | line source |
---|---|
826 | 1 " Vim filetype plugin file |
6823 | 2 " Vim syntax file |
34896
1ddd65fbc10c
runtime(kconfig): add include to ftplugin (#14524)
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
3 " Maintainer: Christian Brabandt <cb@256bit.org> |
1ddd65fbc10c
runtime(kconfig): add include to ftplugin (#14524)
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> |
1ddd65fbc10c
runtime(kconfig): add include to ftplugin (#14524)
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
5 " Latest Revision: 2024-04-12 |
1ddd65fbc10c
runtime(kconfig): add include to ftplugin (#14524)
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
6 " License: Vim (see :h license) |
6823 | 7 " Repository: https://github.com/chrisbra/vim-kconfig |
826 | 8 |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin = 1 | |
13 | |
34896
1ddd65fbc10c
runtime(kconfig): add include to ftplugin (#14524)
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
14 let b:undo_ftplugin = "setl inc< com< cms< fo<" |
1698 | 15 |
34896
1ddd65fbc10c
runtime(kconfig): add include to ftplugin (#14524)
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
16 setlocal include=source\\s\\+ |
826 | 17 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql |
1698 | 18 |
6823 | 19 " For matchit.vim |
20 if exists("loaded_matchit") | |
21 let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>' | |
22 endif |