Re: Retrieve ruby expression return in vim var

2018-07-07 Thread Ni Va
Le samedi 7 juillet 2018 02:03:24 UTC+2, Damien a écrit : > Hi > > Le Fri, Jul 06, 2018 at 12:47:38PM -0700, Ni Va Oa écrit : > >How can I retrieve the result of that : ruby p RUBY_VERSION into Vim's var. > > Maybe `Vim::command('let temp = json_decode(%s)' % [var, ...].to_json)` ? > > Regards

Re: Retrieve ruby expression return in vim var

2018-07-06 Thread Damien
Hi Le Fri, Jul 06, 2018 at 12:47:38PM -0700, Ni Va Oa écrit : How can I retrieve the result of that : ruby p RUBY_VERSION into Vim's var. Maybe `Vim::command('let temp = json_decode(%s)' % [var, ...].to_json)` ? Regards -- -- You received this message from the "vim_use" maillist. Do not top-

Retrieve ruby expression return in vim var

2018-07-06 Thread Ni Va
Hi, How can I retrieve the result of that : ruby p RUBY_VERSION into Vim's var. Thank you -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You rec