Hi,
If there is a function called Foo(), then it looks like exists('*Foo\W.*')
evaluates to 1. For example
:fun Foo
: return 1
:endfun
:echo exists('*Foo!asdf')
" prints 1
This happens not just for functions, but variables etc. also. For
variables, I can work around this by using has_key(g:, varname)
instead of exists('g:'.varname).
Thank you,
Srinath
