Skip to content

Commit 0b6ce65

Browse files
authored
Merge pull request #1759 from h-east/update-syntax
Update syntax.{txt,tax}
2 parents 22718bf + ad98ea3 commit 0b6ce65

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

doc/syntax.jax

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 13
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 20
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -5126,12 +5126,17 @@ Note: "*/" を含む文字列で行をまたぐものがあると、Cコメン
51265126
基本的には次のコマンドと同じである >
51275127
:echo g:colors_name
51285128
< g:colors_name が定義されていない場合は "default" と表
5129-
示される。|+eval| 機能付きでコンパイルされていない場合
5130-
は "unknown" と表示される。
5129+
示される。そのパレットは、ファイル
5130+
"$VIMRUNTIME/syntax/syncolor.vim" で定義されており、
5131+
peachpuff と desert の旧バージョンに基づいている。
5132+
|+eval| 機能付きでコンパイルされていない場合は
5133+
"unknown" と表示される。
51315134

51325135
:colo[rscheme] {name} カラースキーム{name}を読み込む。これは 'runtimepath'
51335136
の中から "colors/{name}.vim" というファイルを検索する。
51345137
最初に見つかったものが読み込まれる。
5138+
デフォルトのカラースキームを読み込むには、
5139+
`:colo default` を使用する。
51355140
同様に、'packpath' 内の全てのプラグインを検索し、それ
51365141
ぞれについて "start" 内、"opt" 内の順で検索する。
51375142

en/syntax.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 13
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5309,12 +5309,15 @@ of colors by using the `:colorscheme` command, for example: >
53095309
This is basically the same as >
53105310
:echo g:colors_name
53115311
< In case g:colors_name has not been defined :colo will
5312-
output "default". When compiled without the |+eval|
5313-
feature it will output "unknown".
5312+
output "default". Its palette is defined in the file
5313+
"$VIMRUNTIME/syntax/syncolor.vim" and is based on
5314+
legacy versions of peachpuff and desert. When compiled
5315+
without the |+eval| feature it will output "unknown".
53145316

53155317
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
53165318
for the file "colors/{name}.vim". The first one that
53175319
is found is loaded.
5320+
Use `:colo default` to load the default colorscheme.
53185321
Also searches all plugins in 'packpath', first below
53195322
"start" and then under "opt".
53205323

0 commit comments

Comments
 (0)