Skip to content

2TheGalaxy/reascript-lua-ls.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

reascript-lua-ls.nvim

Neovim plugin that makes lua-ls recognize ReaScript commands.

Usage:

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

Lazy setup:

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"
  }
}

Info

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.

About

Neovim plugin that makes lua-ls recognize ReaScript commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages