runtime(kconfig): updated ftplugin and syntax script

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-01-20 21:01:41 +01:00
parent 71028a32db
commit 4335fcfed1
3 changed files with 709 additions and 698 deletions

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2025 Jan 11
*syntax.txt* For Vim version 9.1. Last change: 2025 Jan 20
VIM REFERENCE MANUAL by Bram Moolenaar
@ -2218,6 +2218,16 @@ To disable numbers having their own color add the following to your vimrc: >
If you want quotes to have different highlighting than strings >
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*

View File

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

File diff suppressed because it is too large Load Diff