Remove deprecated DAPInstall
parent
94d509727a
commit
bb9a7506aa
|
@ -45,7 +45,6 @@ return require("packer").startup {
|
||||||
use "rcarriga/nvim-dap-ui" -- UI components for DAP
|
use "rcarriga/nvim-dap-ui" -- UI components for DAP
|
||||||
use "theHamsta/nvim-dap-virtual-text" -- Virtual text display for DAP
|
use "theHamsta/nvim-dap-virtual-text" -- Virtual text display for DAP
|
||||||
use "diepm/vim-rest-console" -- REST console for vim
|
use "diepm/vim-rest-console" -- REST console for vim
|
||||||
use "Pocco81/DAPInstall.nvim" -- Easy DAP configuration
|
|
||||||
use "jamestthompson3/nvim-remote-containers" -- devcontainer.json support
|
use "jamestthompson3/nvim-remote-containers" -- devcontainer.json support
|
||||||
use "jbyuki/one-small-step-for-vimkind" -- Debugger for Nvim-Lua
|
use "jbyuki/one-small-step-for-vimkind" -- Debugger for Nvim-Lua
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,6 @@
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
local dap = require("dap")
|
local dap = require("dap")
|
||||||
local dap_install = require("dap-install")
|
|
||||||
|
|
||||||
local dbg_list = require("dap-install.api.debuggers").get_installed_debuggers()
|
|
||||||
|
|
||||||
for _, debugger in ipairs(dbg_list) do
|
|
||||||
dap_install.config(debugger)
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.cmd [[ au FileType dap-repl lua require('dap.ext.autocompl').attach() ]]
|
vim.cmd [[ au FileType dap-repl lua require('dap.ext.autocompl').attach() ]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue