Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One little-talked about advantage of Lua support is that you can now write your vim config/scripts in one of the various Lua transpilers like moonscript [0], or maybe even typescript [1]!

[0]: https://github.com/leafo/moonscript

[1]: https://github.com/TypeScriptToLua/TypeScriptToLua

[2]: https://github.com/hengestone/lua-languages



The first transpiler to mention here would be https://fennel-lang.org/ and https://github.com/Olical/aniseed


I am curious if there are any major packages written in lua for neovim? I wonder if ecosystem fragmentation will become an issue (vimscript vs Lua).


There are replacements for most/many popular packages (that I use at least). Many people do prefer lua packages over vimscript ones.


It will as regular vim is doing vim9script. So it will be legacy vimscript vs lua vs vim9scrpt.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: