3 ms·
For what it's worth, NeoVim's extension language is Lua as well.
by ta8645 2y ago
For what it's worth, NeoVim's extension language is Lua as well.
- srik 2y agoYup. I've paradoxically found it more convenient to write my neovim plugins+configuration in lua than in python with vanilla vim's python api.
- coliveira 2y agoVim also has support for Lua scripts.
- maleldil 2y agoNot to the same extent. Neovim has extensive Lua support, to the point where you can do _almost_ anything in Lua, whereas in Vim, it's, AFAIK, a second-class citizen. For example, my nvim config is written entirely in Lua with no vimscript files, except for a few vim.cmd's that run one-line vimscript commands. (exactly three, and they're all highlighting/colorscheme–related).
- coliveira 2y agoI believe you can do the same in vim, however I agree that there is more friction in vim because Lua is not the main scripting language. Moreover, vim is not guaranteed to be compiled with Lua, so you only want to do this if you can control the installation of the vim binaries.