External Editor Support
I really like the extension and I would like to use it outside of VSCode in an external code editor like Helix (or Vim/Nvim).
This could be achieved by creating a standalone CLI version of the language server.
This could be achieved by creating a standalone CLI version of the language server.
The language server is from https://github.com/LuaLS/lua-language-server and is not dependant on vscode. This resource just installs the vscode-lua extension, includes fivem-lls-addon, and changes some settings for you.
See the links below to use any code editor.
- https://luals.github.io/#neovim-install
- https://luals.github.io/#other-install
Download fivem-lls-addon and configure the libraries and plugin in a .luarc.json file in your project root to include those paths.
@thelindat Hey, thanks for the response!
Actually, I already have https://github.com/LuaLS/lua-language-server installed and setup with Helix. I found this addon: https://github.com/ProjectTH/fivem-lls-addon, and I was wondering if it's somehow related to your addon
I found this addon: https://github.com/ProjectTH/fivem-lls-addon, and I was wondering if it's somehow related to your addon
For whatever reason they forked my plugin, made objectively worse native codegen, and then PR'd it to LLS-Addons which is a vscode addon viewer.
For whatever reason they forked my plugin, made objectively worse native codegen, and then PR'd it to LLS-Addons which is a vscode addon viewer.
Oh. That's what I thought. It's a shame. Good to know though!
Download fivem-lls-addon and configure the libraries and plugin in a .luarc.json file in your project root to include those paths.
I've successfully configured everything and it works amazingly! Thanks for the advice
This resource just installs the vscode-lua extension, includes fivem-lls-addon, and changes some settings for you.
Download fivem-lls-addon and configure the libraries and plugin in a .luarc.json file in your project root to include those paths.
For whatever reason they forked my plugin, made objectively worse native codegen, and then PR'd it to LLS-Addons which is a vscode addon viewer.
It would be great if all of this was included in the README file