Skip to content
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
15 changes: 11 additions & 4 deletions doc/sign.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*sign.txt* For Vim バージョン 8.1. Last change: 2019 Sep 06
*sign.txt* For Vim バージョン 8.2. Last change: 2019 Nov 30


VIMリファレンスマニュアル by Gordon Prieur
Expand Down Expand Up @@ -43,8 +43,10 @@
*sign-column*
ファイルに対して目印が定義されると、Vimは自動的に表示画面に2文字分のカラムを付
け加える。全てのサインが取り除かれるとそのカラムは再度消滅する。この動作は
'signcolumn' オプションにより変更可能できる。そのカラムは SignColumnの色を使
う|hl-SignColumn|が設定される。色を設定するには次のようにする: >
'signcolumn' オプションにより変更可能できる。

そのカラムは SignColumnの色を使う|hl-SignColumn|が設定される。色を設定するには
次のようにする: >

:highlight SignColumn guibg=darkgrey
<
Expand All @@ -66,6 +68,11 @@
ループを使うと、Vimプラグインは他のプラグインを妨害することなく独自の目印を使
うことができる。

ポップアップウィンドウの中に目印を配置する場合、グループ名は "PopUp" で始める
必要がある。その他の目印はポップアップウィンドウ内では表示されない。グループ名
"PopUpMenu" はポップアップウィンドウ内 'cursorline' がセットされた場所で使われ
る。

*sign-priority*
設置された各目印には、優先順位値が割り当てられる。同じ行に複数の目印が設置され
ている場合、最も優先順位の高い目印の属性が目印のグループとは独立して使用され
Expand Down Expand Up @@ -373,7 +380,7 @@ sign_define({list})
更新される。

1つの引数{list}を使用して、目印のリストを定義できる。各リスト
項目は、{dict}の上記項目と目印名の 'name' 項目を持つ辞書であ
項目は、{dict}の上記項目と目印名の "name" 項目を持つ辞書であ
る。
成功すると 0 を返し、失敗すると -1 を返す。1つの引数{list}が使
用されると、定義された各目印ごとに値のリストが返される。
Expand Down
12 changes: 8 additions & 4 deletions en/sign.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*sign.txt* For Vim version 8.1. Last change: 2019 Sep 06
*sign.txt* For Vim version 8.2. Last change: 2019 Nov 30


VIM REFERENCE MANUAL by Gordon Prieur
Expand Down Expand Up @@ -48,8 +48,8 @@ When signs are defined for a file, Vim will automatically add a column of two
characters to display them in. When the last sign is unplaced the column
disappears again. This behavior can be changed with the 'signcolumn' option.

The color of the column is set with the SignColumn group |hl-SignColumn|.
Example to set the color: >
The color of the column is set with the SignColumn highlight group
|hl-SignColumn|. Example to set the color: >

:highlight SignColumn guibg=darkgrey
<
Expand All @@ -71,6 +71,10 @@ placed in the named group. The sign identifier is unique within a group. The
sign group allows Vim plugins to use unique signs without interfering with
other plugins using signs.

To place a sign in a popup window the group name must start with "PopUp".
Other signs will not show in a popup window. The group name "PopUpMenu" is
used by popup windows where 'cursorline' is set.

*sign-priority*
Each placed sign is assigned a priority value. When multiple signs are placed
on the same line, the attributes of the sign with the highest priority is used
Expand Down Expand Up @@ -371,7 +375,7 @@ sign_define({list})

The one argument {list} can be used to define a list of signs.
Each list item is a dictionary with the above items in {dict}
and a 'name' item for the sign name.
and a "name" item for the sign name.

Returns 0 on success and -1 on failure. When the one argument
{list} is used, then returns a List of values one for each
Expand Down