News for hackers. Stuff that matters.
Re:Neovim v0.2.1 released by landr0id on Wednesday November 08, 2017 @03:14AM (#15650576)
So what's this API do? Allow you to ditch vimscript for lua or something else?
Re:Neovim v0.2.1 released by pmoriarty on Wednesday November 08, 2017 @03:36AM (#15650657)
It's been possible to script vim in Lua (and various other languages including Python, Ruby, Perl, and even Scheme) for a long time.. long before neovim existed.

The problem is that the overwhelming majority of vim scripts are written in vimscript. So even if you switch to using some other language to script vim, virtually all the rest of the vim ecosystem will still be in vimscript.

Re:Neovim v0.2.1 released by fmoralesc on Wednesday November 08, 2017 @03:48AM (#15650707)
Sure, but now, because neovim is guaranteed to have lua available (not necessarily the case in all vim builds), you can count on it, which in turn eases the problem of consuming the scripts.
Re:Neovim v0.2.1 released by DigitalJack on Wednesday November 08, 2017 @10:04AM (#15653063)
Not the same. At least pre vim 8. I don't know if this has changed.

https://geoff.greer.fm/2015/01/15/why-neovim-is-better-than-...

Example for python from the post

  import vim

  # Show current directory in Vim
  cwd = vim.eval('getcwd()')
  vim.command(':Explore %s | redraw' % cwd)
Technically it's python, but it's a shim.
Re:Neovim v0.2.1 released by superflyguy on Wednesday November 08, 2017 @02:59PM (#15656379)
Who is that a problem for?