Fix a bug that prevent vim-ipython to load from vim in console mode#1
Fix a bug that prevent vim-ipython to load from vim in console mode#1tcheneau wants to merge 1 commit into
Conversation
(Console) Vim does not offer the balloons support. Hence, the plugin fails to load in console mode. This small commit checks for the presence of the GUI.
|
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 |
|
I don't know if it can be reproduced on every installation, but on Fedora and Gentoo, both the 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 |
|
thank you both for the help! |
Made cells compatible with IPython notebooks
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.