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,

-- 
AOYAMA Shotaro <[EMAIL PROTECTED]>

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

Raspunde prin e-mail lui