Re: Problem highlighting cword in help buffer (Text format)

"'lijh8' via vim_use" <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
Hi Salman,

I update this to highlight cursor word, it now works in `:help` system and it also works to the built-in star `*` .

Thanks

```
let save_isk=&amp;iskeyword | set iskeyword=@,48-57,_,192-255 | autocmd CursorMoved,CursorMovedI * execute 'match Visual' (getline('.')[col('.')-1] =~# '\w' ? '/\&lt;' . escape(expand('<cword>'), '/\.*$^~[]') . '\&gt;/' : '//') | let &amp;iskeyword=save_isk
```</cword>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/tencent_ACEA18DFC679933C79DCB1CF4376F93EC108%40qq.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.