mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 11:38:00 +00:00
[neovim] Update dap plugin
This commit is contained in:
parent
c6c9440d60
commit
78b1ce547c
@ -233,7 +233,7 @@ require("lazy").setup({
|
||||
|
||||
-- DAP
|
||||
{ "mfussenegger/nvim-dap", event = "VeryLazy", version = "0.*" },
|
||||
{ "rcarriga/nvim-dap-ui", event = "VeryLazy", version = "v3.*" },
|
||||
{ "rcarriga/nvim-dap-ui", event = "VeryLazy", version = "v4.*" },
|
||||
{ "theHamsta/nvim-dap-virtual-text", event = "VeryLazy" },
|
||||
|
||||
-- Python
|
||||
|
@ -29,14 +29,19 @@ dapui.setup({
|
||||
|
||||
vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "" })
|
||||
|
||||
dap.listeners.after.event_initialized["dapui_config"] = function()
|
||||
dap.listeners.after.event_initialized.dapui_config = function()
|
||||
dapui.open()
|
||||
end
|
||||
|
||||
dap.listeners.before.event_terminated["dapui_config"] = function()
|
||||
dapui.close()
|
||||
dap.listeners.before.attach.dapui_config = function()
|
||||
dapui.open()
|
||||
end
|
||||
|
||||
dap.listeners.before.event_exited["dapui_config"] = function()
|
||||
dapui.close()
|
||||
dap.listeners.before.launch.dapui_config = function()
|
||||
dapui.open()
|
||||
end
|
||||
dap.listeners.before.event_terminated.dapui_config = function()
|
||||
dapui.close()
|
||||
end
|
||||
dap.listeners.before.event_exited.dapui_config = function()
|
||||
dapui.close()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user