4 ms·
> I thought one can write in Python and other languages for plugins now? Yes and no. Technically this is possible, but it's almost as unpleasant as just using
by actf 14y ago
> I thought one can write in Python and other languages for plugins now?
Yes and no. Technically this is possible, but it's almost as unpleasant as just using vimscript.
Scripting vim in python involves using the vim module, which provides a very limited api to interact with vim. It doesn't allow the interception of any events, and interacting with vim more often than not seems to involve calling vim.command() or vim.eval(), which take vimscript as a string.
That said, I still think this is the direction vim needs to go. I think if the vim python integration improves in future releases it will be much appreciated, and will provide a boost to the vim plugin community.