![]() Is designed to be small in footprint (about 200K) and have small memory usage. But it can be compiled to bytecode, in a similar way as Java, making it much faster to execute. This means that is not necessary to compile it to run it, much like PHP, Python and JavaScript. Lua is a scripting language interpreted at runtime. This 3 things are the ones that are going to enable us to create the perfect NeoVim setup for our purposes. It incorporated a native Language Server Protocol client.It included Treesitter for language parsing.Lua support was added for the configuration and the creation of plugins.In July 2021, version 0.5 of NeoVim was released with a few very important features: Syntax highlighting improvements with Tree-sitter.Pass configuration values to NeoVim using the vim object.Configuration structure and file naming.I this article, I'll document the process, and also explain some of the advanced concepts behind Vim with Lua. ![]() But since I was about to make the switch, I might as well start using Lua for configuration instead of vimscript and use plugins written in Lua if possible since it's proven to be crazy fast. Most of all, I wanted to have the full capabilities that Visual Studio Code has when you install Intelephense, PHP Sniffer and Better PHPUnit when it comes to developing with PHP, but in Vim.Īdditionally, Gutenberg is written with React and Redux, so having good JavaScript support was also necessary.Īfter watching many videos and reading many blogs I came to the conclusion that NeoVim with native LSP support was the way to go.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |