On 2014-09-21 19:55:13, Kannan wrote:
> I want to call a VIM function with argument using the "vim --servername my_server --remote-send 'my_function arg1 arg2<CR>'" command. What is the recommended way to pass List as an argument? Should I construct a String with some delimiter? If so, what delimiter is used in Eclim? For normal commands that are invoked from VIM and sent to eclim server, we are using GSON. But I guess that approach is not applicable here, right?
The more I think about it, the less I like using vim's remote send
commands. If non-vim eclim clients decide they want to integrate with
the upcoming java debugging support, they won't be able to. So instead
of using remote sends commands, I think we should think about using
vim's python support to start a small server which can listen for
commands from eclimd. This server shouldn't be specific to any eclim
feature (like java debugging), so that any future eclim features can
utilize it as well. By using this instead, other editors can
presumably implement a similar server to integrate with eclim's java
debugging, etc.
> --
> Kannan
--
eric