3 ms·
"It isn’t widely known that Vim has interfaces into several popular scripting languages: Python, Ruby, Perl, Scheme, and Tcl." https://items.sjbach.com/97/writ
by humanrebar 9y ago
"It isn’t widely known that Vim has interfaces into several popular scripting languages: Python, Ruby, Perl, Scheme, and Tcl."
https://items.sjbach.com/97/writing-a-vim-plugin https://items.sjbach.com/97/writing-a-vim-plugin
- otikik 9y agoA lot of those languages don't come activated by default on the packaged versions of Vim - Lua is one of them, at least on osx/homebrew. That strongly dissuades me from writing plugins in anything other than Vimscript. It might work for the guy who recompiles his Vim often, but it will not work on that vim instance running in your server. Ubiquity is one of Vim's main points.
- nerdponx 9y agoDoesn't Vim have Lua support too?
- humanrebar 9y agoI know there are plugins for the lua file type (syntax highlighting, etc.). I don't know if you can write plugins in lua.
- sigzero 9y agoLua is a valid language to write plugins.
- jmcphers 9y agoNeovim does, and it will be a first class scripting citizen in 0.3. https://neovim.io/roadmap/ https://neovim.io/roadmap/