Closed tcheneau closed 13 years ago
Thanks for the pull request. I saw this also in @nakamuray 's branch - but cannot reproduce the error locally, which i why I didn't merge yet. Can you tell me what the error is (and what version of vim)? My impression is that ballooneval
and bexpr
are ignored in console mode.
I don't know if it can be reproduced on every installation, but on Fedora and Gentoo, both the :set ballooneval
and :set bexpr
commands return a E518: Unknown option
error when set within vim. Gvim does not share this behavior.
Vim version on my Gentoo is 7.3.189 (I do not have access to the Fedora right now).
Please let me know if you need more details on my test systems or if I can help in any other ways.
Both options are available only if vim is built with balloon_eval feature.
So, it depend on how your vim is compiled.
Then, the test should be replaced by if has("ballon_eval")
?
thank you both for the help!
If I am not wrong, (Console) Vim does not offer the balloons support. Hence, the plugin fails to load in console mode (at the "set bexpr" instruction).
This small workaround loads the balloons only when Gvim is started.