1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 12:19:26 +00:00

[neovim] Reorganize lua packages

This commit is contained in:
2022-10-16 12:28:51 +02:00
parent 8948fc6620
commit 7ae6819126
37 changed files with 40 additions and 37 deletions

View File

@ -0,0 +1,33 @@
local dap_status_ok, dap = pcall(require, "dap")
if not dap_status_ok then
return
end
local dap_ui_status_ok, dapui = pcall(require, "dapui")
if not dap_ui_status_ok then
return
end
local dap_install_status_ok, dap_install = pcall(require, "dap-install")
if not dap_install_status_ok then
return
end
dap_install.config("python", {})
-- add other configs here
-- dapui.setup({})
vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "" })
dap.listeners.after.event_initialized["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