24 lines
510 B
Lua
24 lines
510 B
Lua
local M = { "mfussenegger/nvim-dap" }
|
|
|
|
M.dependencies = {
|
|
"mason-nvim-dap.nvim",
|
|
"nvim-dap-ui",
|
|
}
|
|
|
|
M.event = { "BufReadPre", "BufNewFile" }
|
|
|
|
M.config = function()
|
|
local icons = require('config.icons')
|
|
vim.api.nvim_set_hl(0, "DapStoppedLine", { default = true, link = "Visual" })
|
|
vim.fn.sign_define(
|
|
"DapBreakpoint",
|
|
{
|
|
text = icons.ui.Bug,
|
|
texthl = "DiagnosticSignError",
|
|
linehl = "",
|
|
numhl = "",
|
|
}
|
|
)
|
|
end
|
|
|
|
return M
|