fixes for dap stuff
This commit is contained in:
parent
51f5d6cd3c
commit
9a2cceff8b
3 changed files with 23 additions and 10 deletions
|
@ -34,6 +34,10 @@ require("lazy").setup({
|
|||
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "theHamsta/nvim-dap-virtual-text" },
|
||||
config = require('plugins.nvim-dap').init
|
||||
},
|
||||
{
|
||||
"folke/neodev.nvim",
|
||||
config = require('plugins.neodev').init
|
||||
},
|
||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||
{ 'hrsh7th/cmp-buffer' },
|
||||
{ 'hrsh7th/cmp-cmdline' },
|
||||
|
|
7
lua/plugins/neodev.lua
Normal file
7
lua/plugins/neodev.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
init = function()
|
||||
require("neodev").setup({
|
||||
library = { plugins = { "nvim-dap-ui" }, types = true },
|
||||
})
|
||||
end
|
||||
}
|
|
@ -23,6 +23,8 @@ return {
|
|||
|
||||
-- setup dapui
|
||||
local dapui = require("dapui")
|
||||
dapui.setup()
|
||||
|
||||
dap.listeners.before.attach.dapui_config = function()
|
||||
dapui.open()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue