Neovim plugin that makes lua-ls recognize ReaScript commands.
cd into your project root, open nvim and call :ReaScriptLua This will create (or merge) .luarc.json file at the root of your project that points lua-ls to the ReaScriptAPI definitions
return {
"2TheGalaxy/reascript-lua-ls.nvim",
opts = {}
}You can change the command name yourself like that: (default is "ReaScriptLua")
return {
"2TheGalaxy/reascript-lua-ls.nvim",
opts = {
cmd_name_luarc = "YourCommandName"
}
}Definitions file is taken directly from: https://github.com/AntoineBalaine/vscode-reascript-extension If you use vscode or any other editor and/or want to use other features then go to Antoine Balaine amazing plugin (link above) There, he explains how to integrate it with with different editors.
I created this for myself to have it automated for neovim using lazy.nvim. I will not add any other featues for now, especially when i think that Antoine will extend his plugin for neovim to have all features (maybe).
This is my first experience with creating neovim plugins and public github repos, so I made this to get some basic experience.
But feel free to use it.