Skip to content

Commit 6312a89

Browse files
authored
Merge pull request #752 from 0Delta/feature/update_sign
update sign.{txt.jax}
2 parents daccdcb + 4c3d159 commit 6312a89

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

doc/sign.jax

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*sign.txt* For Vim バージョン 8.1. Last change: 2019 Sep 06
1+
*sign.txt* For Vim バージョン 8.2. Last change: 2019 Nov 30
22

33

44
VIMリファレンスマニュアル by Gordon Prieur
@@ -43,8 +43,10 @@
4343
*sign-column*
4444
ファイルに対して目印が定義されると、Vimは自動的に表示画面に2文字分のカラムを付
4545
け加える。全てのサインが取り除かれるとそのカラムは再度消滅する。この動作は
46-
'signcolumn' オプションにより変更可能できる。そのカラムは SignColumnの色を使
47-
|hl-SignColumn|が設定される。色を設定するには次のようにする: >
46+
'signcolumn' オプションにより変更可能できる。
47+
48+
そのカラムは SignColumnの色を使う|hl-SignColumn|が設定される。色を設定するには
49+
次のようにする: >
4850
4951
:highlight SignColumn guibg=darkgrey
5052
<
@@ -66,6 +68,11 @@
6668
ループを使うと、Vimプラグインは他のプラグインを妨害することなく独自の目印を使
6769
うことができる。
6870

71+
ポップアップウィンドウの中に目印を配置する場合、グループ名は "PopUp" で始める
72+
必要がある。その他の目印はポップアップウィンドウ内では表示されない。グループ名
73+
"PopUpMenu" はポップアップウィンドウ内 'cursorline' がセットされた場所で使われ
74+
る。
75+
6976
*sign-priority*
7077
設置された各目印には、優先順位値が割り当てられる。同じ行に複数の目印が設置され
7178
ている場合、最も優先順位の高い目印の属性が目印のグループとは独立して使用され
@@ -373,7 +380,7 @@ sign_define({list})
373380
更新される。
374381

375382
1つの引数{list}を使用して、目印のリストを定義できる。各リスト
376-
項目は、{dict}の上記項目と目印名の 'name' 項目を持つ辞書であ
383+
項目は、{dict}の上記項目と目印名の "name" 項目を持つ辞書であ
377384
る。
378385
成功すると 0 を返し、失敗すると -1 を返す。1つの引数{list}が使
379386
用されると、定義された各目印ごとに値のリストが返される。

en/sign.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*sign.txt* For Vim version 8.1. Last change: 2019 Sep 06
1+
*sign.txt* For Vim version 8.2. Last change: 2019 Nov 30
22

33

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

51-
The color of the column is set with the SignColumn group |hl-SignColumn|.
52-
Example to set the color: >
51+
The color of the column is set with the SignColumn highlight group
52+
|hl-SignColumn|. Example to set the color: >
5353
5454
:highlight SignColumn guibg=darkgrey
5555
<
@@ -71,6 +71,10 @@ placed in the named group. The sign identifier is unique within a group. The
7171
sign group allows Vim plugins to use unique signs without interfering with
7272
other plugins using signs.
7373

74+
To place a sign in a popup window the group name must start with "PopUp".
75+
Other signs will not show in a popup window. The group name "PopUpMenu" is
76+
used by popup windows where 'cursorline' is set.
77+
7478
*sign-priority*
7579
Each placed sign is assigned a priority value. When multiple signs are placed
7680
on the same line, the attributes of the sign with the highest priority is used
@@ -371,7 +375,7 @@ sign_define({list})
371375

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

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

0 commit comments

Comments
 (0)