From 98d7de54f4ac4a9c005908148d100a5f4d5647b2 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 1 Feb 2025 15:09:26 +0900 Subject: [PATCH 1/2] Update syntax.{txt,jax} --- doc/syntax.jax | 12 +++++++++++- en/syntax.txt | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 31d568e6f..706ed2612 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1,4 +1,4 @@ -*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Jan 11 +*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Jan 20 VIMリファレンスマニュアル by Bram Moolenaar @@ -2155,6 +2155,16 @@ JQ *jq.vim* *jq_quote_highlight* *ft-jq-syntax* 引用符を文字列とは異なるハイライトにしたい場合は > let g:jq_quote_highlight = 1 +KCONFIG *ft-kconfig-syntax* + +Kconfig 構文ハイライト言語。構文同期については、以下の変数を設定できる (デフォ +ルト: 50): > + + let kconfig_minlines = 50 + +もう少し(より濃厚な)ハイライトを設定するには、以下の変数を設定する: > + + let kconfig_syntax_heavy = 1 LACE *lace.vim* *ft-lace-syntax* diff --git a/en/syntax.txt b/en/syntax.txt index 9b204780a..38f764f7a 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -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* From ad6b25f8390c4800dd0cc4182f658cb0e6eb1c94 Mon Sep 17 00:00:00 2001 From: h-east Date: Mon, 3 Feb 2025 20:17:40 +0900 Subject: [PATCH 2/2] Fix by review --- doc/syntax.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 706ed2612..0f40c9489 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -2162,7 +2162,7 @@ Kconfig 構文ハイライト言語。構文同期については、以下の変 let kconfig_minlines = 50 -もう少し(より濃厚な)ハイライトを設定するには、以下の変数を設定する: > +もう少し(より重い)ハイライトを設定するには、以下の変数を設定する: > let kconfig_syntax_heavy = 1