Dennis Benzinger wrote:
>  Hi Michael!
>
>  Am 12.04.2009 15:07, Michael Henry schrieb:
> > Dennis Benzinger wrote:
> >>  Hi!
> >>
> >>  How can I check if there is no search highlighting because of
> >>  :nohlsearch opposed to :set nohlsearch ?
> > In expressions, you can prefix an option name with '&' to retrieve
> > the option's value.[...]

>  Yes, but that only helps for getting the hlsearch option. It doesn't
>  help if the search highlighting was temporarily turned off by the
>  :nohlsearch command.

Dennis,

Ah, thanks for the clarification.  I'm sorry I missed the difference
despite your efforts to distinguish between the command :nohlsearch
and the option hlsearch.  I wasn't familiar with the command :nohlsearch,
so the distinction didn't register.  I thought you were wondering how
to check the option in a script instead of simply displaying the option's
current value.

Thanks for your patience,
Michael Henry


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to