Skip to content

Update syntax.{txt,tax} #1759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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" 内の順で検索する。

Expand Down
9 changes: 6 additions & 3 deletions en/syntax.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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".

Expand Down