Skip to content

xubury/emmylua.nvim

 
 

Repository files navigation

EmmyLua for nvim-dap

This is a fork version of EmmyLua for working with nvim-dap client.

Requirement

  • nodejs
  • fd

Install

lazy

"xubury/emmylua.nvim",
build = "npm install && npm run compile && node ./build/prepare-version.js && node ./build/prepare.js",

Usage

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

Build

  • run npm install and npm run compile
  • run node build/prepare-version.js and node build/prepare.js

About

Lua Debugger Plugin for Neovim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.8%
  • Lua 23.6%
  • JavaScript 4.6%