Skip to content

Commit e1adff9

Browse files
committed
Merge pull request #95 from haya14busa/add/vhlsearch
Translate v:hlsearch
2 parents cdad615 + b0d88cd commit e1adff9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

doc/eval.jax

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,14 @@ v:foldend 'foldtext' 用。閉じた折り畳みの最後の行。
14091409
v:foldstart 'foldtext' 用。閉じた折り畳みの最初の行。
14101410
サンドボックス|sandbox|の中では読出し専用。|fold-foldtext|
14111411

1412+
*v:hlsearch* *hlsearch-variable*
1413+
v:hlsearch 検索による強調表示がオンになっているかどうかを決定する変数。
1414+
|+extra_search| 機能が必要である 'hlsearch' が有効になっている
1415+
時のみ意味をなす。この変数を0に設定することは、 |:nohlsearch|
1416+
コマンドを実行することと同様に働き、1に設定することは以下と
1417+
同様に働く >
1418+
let &hlsearch = &hlsearch
1419+
<
14121420
*v:insertmode* *insertmode-variable*
14131421
v:insertmode オートコマンドイベント|InsertEnter||InsertChange|用。
14141422
値は次のどれか:

en/eval.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,13 @@ v:foldend Used for 'foldtext': last line of closed fold.
14541454
v:foldstart Used for 'foldtext': first line of closed fold.
14551455
Read-only in the |sandbox|. |fold-foldtext|
14561456

1457+
*v:hlsearch* *hlsearch-variable*
1458+
v:hlsearch Variable that determines whether search highlighting is on.
1459+
Makes sense only if 'hlsearch' is enabled which requires
1460+
|+extra_search|. Setting this variable to zero acts the like
1461+
|:nohlsearch| command, setting it to one acts like >
1462+
let &hlsearch = &hlsearch
1463+
<
14571464
*v:insertmode* *insertmode-variable*
14581465
v:insertmode Used for the |InsertEnter| and |InsertChange| autocommand
14591466
events. Values:

0 commit comments

Comments
 (0)