From b0d88cd7c3465c039b0cdf0981e265ba37ccba3d Mon Sep 17 00:00:00 2001 From: haya14busa Date: Mon, 3 Feb 2014 10:33:17 +0900 Subject: [PATCH] Translate v:hlsearch Update v:hlsearch section on eval.txt --- doc/eval.jax | 8 ++++++++ en/eval.txt | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/doc/eval.jax b/doc/eval.jax index d6e504296..c32e0b4b1 100644 --- a/doc/eval.jax +++ b/doc/eval.jax @@ -1409,6 +1409,14 @@ v:foldend 'foldtext' 用。閉じた折り畳みの最後の行。 v:foldstart 'foldtext' 用。閉じた折り畳みの最初の行。 サンドボックス|sandbox|の中では読出し専用。|fold-foldtext| + *v:hlsearch* *hlsearch-variable* +v:hlsearch 検索による強調表示がオンになっているかどうかを決定する変数。 + |+extra_search| 機能が必要である 'hlsearch' が有効になっている + 時のみ意味をなす。この変数を0に設定することは、 |:nohlsearch| + コマンドを実行することと同様に働き、1に設定することは以下と + 同様に働く > + let &hlsearch = &hlsearch +< *v:insertmode* *insertmode-variable* v:insertmode オートコマンドイベント|InsertEnter|と|InsertChange|用。 値は次のどれか: diff --git a/en/eval.txt b/en/eval.txt index 77119c96c..fa1822979 100644 --- a/en/eval.txt +++ b/en/eval.txt @@ -1454,6 +1454,13 @@ v:foldend Used for 'foldtext': last line of closed fold. v:foldstart Used for 'foldtext': first line of closed fold. Read-only in the |sandbox|. |fold-foldtext| + *v:hlsearch* *hlsearch-variable* +v:hlsearch Variable that determines whether search highlighting is on. + Makes sense only if 'hlsearch' is enabled which requires + |+extra_search|. Setting this variable to zero acts the like + |:nohlsearch| command, setting it to one acts like > + let &hlsearch = &hlsearch +< *v:insertmode* *insertmode-variable* v:insertmode Used for the |InsertEnter| and |InsertChange| autocommand events. Values: