Skip to content

Commit 030a467

Browse files
committed
syntax.jax: Update Vim 8.2.3687 translate a part
1 parent eaf1a87 commit 030a467

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

doc/syntax.jax

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,13 +1497,13 @@ FORM用の既定の拡張カラーモードではヘッダー命令とFORMプロ
14971497
拡張モードを使うことは、gvimで暗いディスプレイを使用した場合にも利点がある。命
14981498
令文は黄色ではなく明るい黄色で表示され、条件文は視認性のため明るい青で表示され
14991499
る。
1500-
1500+
15011501

15021502
FORTH *forth.vim* *ft-forth-syntax*
15031503

1504-
Files matching "*.fs" could be F# or Forth. If the automatic detection
1505-
doesn't work for you, or you don't edit F# at all, use this in your
1506-
startup vimrc: >
1504+
"*.fs" にマッチするファイルのタイプは F# Forth である。自動判別がうまく機能
1505+
しないなら、または F# ファイルを一切編集しないとわかっているなら、次をvimrcに
1506+
加えるとよい: >
15071507
:let filetype_fs = "forth"
15081508
15091509
@@ -4982,28 +4982,25 @@ guisp={color-name} *highlight-guisp*
49824982
これらの値は16進であり、範囲は "00" から "ff"。例: >
49834983
:highlight Comment guifg=#11f0c3 guibg=#ff00ff
49844984
<
4985-
If you are authoring a color scheme and use the same hexademical value
4986-
repeatedly, you can define a name for it in |v:colornames|. For
4987-
example: >
4985+
あなたがカラースキームの作者であり同じ16進数値を繰り返すのであれば
4986+
|v:colornames| にカラー名を定義することができる。例えば: >
49884987
4989-
# provide a default value for this color but allow the user to
4990-
# override it.
4988+
# デフォルト値を提供するがユーザーが上書きすることを許容する。
49914989
:call extend(v:colornames, {'alt_turquoise': '#11f0c3'}, 'keep')
49924990
:highlight Comment guifg=alt_turquoise guibg=magenta
49934991
<
4994-
If you are using a color scheme that relies on named colors and you
4995-
would like to adjust the precise appearance of those colors, you can
4996-
do so by overriding the values in |v:colornames| prior to loading the
4997-
scheme: >
4992+
あなたが名前の付いたカラーに頼るカラースキームを利用するのなら、それら
4993+
の色について正確な出力に調整することができ、そのために |v:colornames|
4994+
の値をスキームをロードするまえに上書きできる: >
49984995
49994996
let v:colornames['alt_turquoise'] = '#22f0d3'
50004997
colorscheme alt
50014998
<
5002-
If you want to develop a color list that can be relied on by others,
5003-
it is best to prefix your color names. By convention these color lists
5004-
are placed in the colors/lists directory. You can see an example in
5005-
'$VIMRUNTIME/colors/lists/csscolors.vim'. This list would be sourced
5006-
by a color scheme using: >
4999+
他に頼るカラーリストの開発をしたいなら、あなたのカラー名にプリフィック
5000+
スを付けるのが最良である。習慣としてそれらのカラーリストは
5001+
colors/lists ディレクトリに置く。例を
5002+
'$VIMRUNTIME/colors/lists/csscolors.vim' に見ることができる。このリス
5003+
トはカラースキームが使われるときに読み込まれうる: >
50075004
50085005
:runtime colors/lists/csscolors.vim
50095006
:highlight Comment guifg=css_turquoise

0 commit comments

Comments
 (0)