init.lua/lua/plugin/configs/dap.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
local M = {}
function M.setup()
require("dap").defaults.fallback.terminal_win_cmd = "50vsplit new"
vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "LspDiagnosticsSignError", linehl = "", numhl = "" })
vim.fn.sign_define("DapBreakpointRejected", { text = "", texthl = "LspDiagnosticsSignHint", linehl = "", numhl = "" })
vim.fn.sign_define("DapStopped", {
text = "",
texthl = "LspDiagnosticsSignInformation",
linehl = "DiagnosticUnderlineInfo",
numhl = "LspDiagnosticsSignInformation",
})
end
return M
|