AOYAMA Shotaro wrote:
> hi,
>
> Using :noh in a user-defined function has no effect.
> Is this a bug or intended?
>
> To reproduce:
>
> $ vim -u NONE -N
>
> function! Noh()
> noh
> endfunction
> set hlsearch
>
> " search /foo
>
> :call Noh()
>
> " Now, the hilight doesn't turn off.
>
>
> Regards,
>
Hmm... My guess is you've just found a helpfile bug rather than a Vim-C-code
bug; but I'd like to read Bram's word on this.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
175. You send yourself e-mail before you go to bed to remind you
what to do when you wake up.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---