diff --git a/doc/syntax.jax b/doc/syntax.jax index d7484ceec..bc760d8e3 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1,4 +1,4 @@ -*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 13 +*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 20 VIMリファレンスマニュアル by Bram Moolenaar @@ -5126,12 +5126,17 @@ Note: "*/" を含む文字列で行をまたぐものがあると、Cコメン 基本的には次のコマンドと同じである > :echo g:colors_name < g:colors_name が定義されていない場合は "default" と表 - 示される。|+eval| 機能付きでコンパイルされていない場合 - は "unknown" と表示される。 + 示される。そのパレットは、ファイル + "$VIMRUNTIME/syntax/syncolor.vim" で定義されており、 + peachpuff と desert の旧バージョンに基づいている。 + |+eval| 機能付きでコンパイルされていない場合は + "unknown" と表示される。 :colo[rscheme] {name} カラースキーム{name}を読み込む。これは 'runtimepath' の中から "colors/{name}.vim" というファイルを検索する。 最初に見つかったものが読み込まれる。 + デフォルトのカラースキームを読み込むには、 + `:colo default` を使用する。 同様に、'packpath' 内の全てのプラグインを検索し、それ ぞれについて "start" 内、"opt" 内の順で検索する。 diff --git a/en/syntax.txt b/en/syntax.txt index 1c66042cc..496093d11 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 13 +*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5309,12 +5309,15 @@ of colors by using the `:colorscheme` command, for example: > This is basically the same as > :echo g:colors_name < In case g:colors_name has not been defined :colo will - output "default". When compiled without the |+eval| - feature it will output "unknown". + output "default". Its palette is defined in the file + "$VIMRUNTIME/syntax/syncolor.vim" and is based on + legacy versions of peachpuff and desert. When compiled + without the |+eval| feature it will output "unknown". :colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath' for the file "colors/{name}.vim". The first one that is found is loaded. + Use `:colo default` to load the default colorscheme. Also searches all plugins in 'packpath', first below "start" and then under "opt".