Files
nix-config/home/base/server/neovim/lua/plugins/dapui.lua
2023-07-10 19:11:49 +08:00

16 lines
569 B
Lua

return {
"rcarriga/nvim-dap-ui",
dependencies = { "mfussenegger/nvim-dap" },
keys = {
{ "<C-b>", "<cmd>lua require'dap'.toggle_breakpoint()<CR>", desc = "toggle_breakpoint" },
},
config = function()
require("dapui").setup()
local sign = vim.fn.sign_define
sign("DapBreakpoint", { text = "", texthl = "DapBreakpoint", linehl = "", numhl = "" })
sign("DapBreakpointCondition", { text = "", texthl = "DapBreakpointCondition", linehl = "", numhl = "" })
sign("DapLogPoint", { text = "", texthl = "DapLogPoint", linehl = "", numhl = "" })
end,
}