Replies: 1 comment 1 reply
-
Also, if anyone is familiar with mason and mason-nvim-dap. I think we could made this package into mason to ease the building steps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have make a fork of vscode-emmylua to adapt

nvim-dap
: https://github.com/xubury/Nvim-EmmyLua.My original inspiration comes from this wiki:https://github.com/puremourning/vimspector/wiki/EmmyLua-for-vim.
But the original wiki was buggy and unclear, so I made a few fixes.
I am very new to DAP or ts language, so there's still few missing pieces.
For example, the variable response's content is duplicated. See the screenshot below:
And there's much rooms for optimization of my code changes.
So, any helps would be much appreciated!
Here are the steps to configure if you want to test yourself:
First, clone the project https://github.com/xubury/Nvim-EmmyLua
Run
npm install
,npm run compile
,node ./build/prepare-version.js
andnode ./build/prepare.js
from this project directory.Make the following configurations into your neovim.
Then, in your beginning of lua file:
Finally, run the lua file before you start the debug session with
nvim-dap
. Everything should good to go!Beta Was this translation helpful? Give feedback.
All reactions