vim-patch:4335fcf: runtime(kconfig): updated ftplugin and syntax script

4335fcfed1

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Clason 2025-01-20 22:44:56 +01:00 committed by Christian Clason
parent f50f86b9ff
commit 855a2a75e6
3 changed files with 708 additions and 697 deletions

View File

@ -1745,6 +1745,16 @@ To disable numbers having their own color add the following to your vimrc: >
If you want quotes to have different highlighting than strings > If you want quotes to have different highlighting than strings >
let g:jq_quote_highlight = 1 let g:jq_quote_highlight = 1
KCONFIG *ft-kconfig-syntax*
Kconfig syntax highlighting language. For syntax syncing, you can configure
the following variable (default: 50): >
let kconfig_minlines = 50
To configure a bit more (heavier) highlighting, set the following variable: >
let kconfig_syntax_heavy = 1
LACE *lace.vim* *ft-lace-syntax* LACE *lace.vim* *ft-lace-syntax*

View File

@ -2,7 +2,7 @@
" Vim syntax file " Vim syntax file
" Maintainer: Christian Brabandt <cb@256bit.org> " Maintainer: Christian Brabandt <cb@256bit.org>
" Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2024-04-12 " Latest Revision: 2025 Jan 20
" License: Vim (see :h license) " License: Vim (see :h license)
" Repository: https://github.com/chrisbra/vim-kconfig " Repository: https://github.com/chrisbra/vim-kconfig
@ -19,4 +19,5 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
" For matchit.vim " For matchit.vim
if exists("loaded_matchit") if exists("loaded_matchit")
let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>' let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
let b:undo_ftplugin .= "| unlet! b:match_words"
endif endif

File diff suppressed because it is too large Load Diff