fixes for dap stuff
Some checks failed
Build neovim image / update-images-manifest (push) Has been cancelled
Build neovim image / build-neovim-amd64 (push) Has been cancelled
Build neovim image / build-neovim-arm64 (push) Has been cancelled

This commit is contained in:
Maciej Lebiest 2024-04-03 21:39:02 +02:00
parent 51f5d6cd3c
commit 9a2cceff8b
3 changed files with 23 additions and 10 deletions

View file

@ -34,6 +34,10 @@ require("lazy").setup({
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "theHamsta/nvim-dap-virtual-text" }, dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "theHamsta/nvim-dap-virtual-text" },
config = require('plugins.nvim-dap').init config = require('plugins.nvim-dap').init
}, },
{
"folke/neodev.nvim",
config = require('plugins.neodev').init
},
{ 'hrsh7th/cmp-nvim-lsp' }, { 'hrsh7th/cmp-nvim-lsp' },
{ 'hrsh7th/cmp-buffer' }, { 'hrsh7th/cmp-buffer' },
{ 'hrsh7th/cmp-cmdline' }, { 'hrsh7th/cmp-cmdline' },

7
lua/plugins/neodev.lua Normal file
View file

@ -0,0 +1,7 @@
return {
init = function()
require("neodev").setup({
library = { plugins = { "nvim-dap-ui" }, types = true },
})
end
}

View file

@ -23,6 +23,8 @@ return {
-- setup dapui -- setup dapui
local dapui = require("dapui") local dapui = require("dapui")
dapui.setup()
dap.listeners.before.attach.dapui_config = function() dap.listeners.before.attach.dapui_config = function()
dapui.open() dapui.open()
end end