LunarVim / lunarvim.org

🌐 Website for LunarVim
https://www.lunarvim.org
GNU General Public License v3.0
138 stars 204 forks source link

need to update document about DAP #186

Open endlesscpp opened 2 years ago

endlesscpp commented 2 years ago

I'm using neovim 0.7.0, when install debugger following the steps in: https://www.lunarvim.org/languages/go.html#lsp-settings

:DIInstall go_delve

There reported "Not an editor command: DIInstall" Then I added

lvim.builtin.dap.active = true

in ~/.config/lvim/config.lua. and DAPInstall and nvim-dap plugins are installed, however there still report "Not an editor command: DIInstall"

Very frustrating.

codepete commented 2 years ago

You need to run DBInstall. Documentation is outdated. Currently they're using dap-buddy.nvim which is sparse on documentation as well.

kylo252 commented 2 years ago

You need to run DBInstall. Documentation is outdated. Currently they're using dap-buddy.nvim which is sparse on documentation as well.

dap-buddy.nvim should be superseded by mason.nvim

codepete commented 2 years ago

Yes, but the command for dap-buddy.nvim is DBInstall for anyone who is stuck. mason.nvim is for LSP and not for DAP.