This is a fork version of EmmyLua for working with nvim-dap client.
- nodejs
- fd
lazy
"xubury/emmylua.nvim",
build = "npm install && npm run compile && node ./build/prepare-version.js && node ./build/prepare.js",
Example adaptor configuration:
local emmylua = require("emmylua")
dap.adapters.lua = emmylua.get_attach_adapter()
dap.configurations.lua = {
{
name = "Attach EmmyLua process",
type = "lua",
codePaths = { "${workspaceFolder}" },
request = "attach",
pid = require("dap.utils").pick_process,
ext = { ".lua" },
},
}
- run
npm install
andnpm run compile
- run
node build/prepare-version.js
andnode build/prepare.js