aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorDavid Bürgin <676c7473@gmail.com>2015-04-25 20:01:33 +0200
committerJustin M. Keyes <justinkz@gmail.com>2015-04-27 02:10:57 -0400
commit5a1a2ba783ba174567ff1c1044b9f0b01b61a0fb (patch)
tree341ddc468821cc469e0ae894f8de30d564a5795d /runtime
parentaf863d46a99aa5d14ff7524dbf17764520554f2b (diff)
downloadrneovim-5a1a2ba783ba174567ff1c1044b9f0b01b61a0fb.tar.gz
rneovim-5a1a2ba783ba174567ff1c1044b9f0b01b61a0fb.tar.bz2
rneovim-5a1a2ba783ba174567ff1c1044b9f0b01b61a0fb.zip
vim-patch:7.4.537 #2509
Problem: Value of v:hlsearch reflects an internal variable. Solution: Make the value reflect whether search highlighting is actually displayed. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-537
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index a9ed4acb19..0284e6cab8 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1455,10 +1455,10 @@ 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 >
+v:hlsearch Variable that indicates whether search highlighting is on.
+ Setting it makes sense only if 'hlsearch' is enabled. Setting
+ this variable to zero acts like the |:nohlsearch| command,
+ setting it to one acts like >
let &hlsearch = &hlsearch
<
*v:insertmode* *insertmode-variable*