Hi, Dr. Chip and Vimmer,

Just found that after I updated the manpageview.vim plugin

(http://www.vim.org/scripts/script.php?script_id=489)

to the latest one, pressing "K" in some codes like "printf("foo")",
when the cursor  is under the word "printf", will show  me an error
message like:

***warning*** sorry, no manpage exist for <printf(>.

I browsed the change log of this plugin, the author, Dr. Chip, shifted
back to use "<cWORD>" instead of "<cword>" to extract current WORD
under cursor. So that, the "printf(", not the expected "printf", will
be extracted out and will get NO match at all.

I don't know what is the advantage of <cWORD> compared to <cword> in
this case. Actually, I think cword is usually what I want and could be
customized by "iskeyword" setting.

If not replacing all <cWORD> with <cword> in the plugin source code,
is there any easy way to get "printf" out when I press "K"?

Thanks!
--
Best,
Zhaojun (Joseph)

Reply via email to