1
0
Fork 0

dap fixes

This commit is contained in:
Luca Bilke 2024-03-10 19:57:59 +01:00
parent bd19e3d93a
commit 717330a6e3
3 changed files with 21 additions and 13 deletions

View File

@ -41,6 +41,13 @@ return {
ChangeDelete = "󰅘",
Truncate = "",
Note = "",
Dap = {
Breakpoint = "",
BreakpointCondition = "",
BreakpointRejected = "",
LogPoint = ".>",
Stopped = "󰁕",
},
lspkind = {
Array = "󰅪",
Boolean = "",
@ -77,5 +84,5 @@ return {
Value = "",
Variable = "",
},
-- progress = { "", "", "", "", "", "", "", "", "", "", "", "", "" },
progress = { "", "", "", "", "", "", "", "", "", "", "", "", "" },
}

View File

@ -1,12 +0,0 @@
local icons = require("config.icons")
local signs = {
{ name = "DapStopped", text = icons.DapStopped, texthl = "DiagnosticWarn" },
{ name = "DapBreakpoint", text = icons.DapBreakpoint, texthl = "DiagnosticInfo" },
{ name = "DapBreakpointRejected", text = icons.DapBreakpointRejected, texthl = "DiagnosticError" },
{ name = "DapBreakpointCondition", text = icons.DapBreakpointCondition, texthl = "DiagnosticInfo" },
{ name = "DapLogPoint", text = icons.DapLogPoint, texthl = "DiagnosticInfo" },
}
for _, sign in ipairs(signs) do
vim.fn.sign_define(sign.name, sign)
end

View File

@ -1,3 +1,16 @@
local icons = require("config.icons")
local signs = {
{ name = "DapStopped", text = icons.Dap.Stopped, texthl = "DiagnosticWarn" },
{ name = "DapBreakpoint", text = icons.Dap.Breakpoint, texthl = "DiagnosticInfo" },
{ name = "DapBreakpointRejected", text = icons.Dap.BreakpointRejected, texthl = "DiagnosticError" },
{ name = "DapBreakpointCondition", text = icons.Dap.BreakpointCondition, texthl = "DiagnosticInfo" },
{ name = "DapLogPoint", text = icons.Dap.LogPoint, texthl = "DiagnosticInfo" },
}
for _, sign in ipairs(signs) do
vim.fn.sign_define(sign.name, sign)
end
return {
{ "mfussenegger/nvim-dap" },
require("plugins.dap.dap-ui"),