dap fixes
This commit is contained in:
parent
bd19e3d93a
commit
717330a6e3
|
@ -41,6 +41,13 @@ return {
|
||||||
ChangeDelete = "",
|
ChangeDelete = "",
|
||||||
Truncate = "",
|
Truncate = "",
|
||||||
Note = "",
|
Note = "",
|
||||||
|
Dap = {
|
||||||
|
Breakpoint = "",
|
||||||
|
BreakpointCondition = "",
|
||||||
|
BreakpointRejected = "",
|
||||||
|
LogPoint = ".>",
|
||||||
|
Stopped = "",
|
||||||
|
},
|
||||||
lspkind = {
|
lspkind = {
|
||||||
Array = "",
|
Array = "",
|
||||||
Boolean = "⊨",
|
Boolean = "⊨",
|
||||||
|
@ -77,5 +84,5 @@ return {
|
||||||
Value = "",
|
Value = "",
|
||||||
Variable = "",
|
Variable = "",
|
||||||
},
|
},
|
||||||
-- progress = { "", "", "", "", "", "", "", "", "", "", "", "", "" },
|
progress = { "", "", "", "", "", "", "", "", "", "", "", "", "" },
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
|
@ -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 {
|
return {
|
||||||
{ "mfussenegger/nvim-dap" },
|
{ "mfussenegger/nvim-dap" },
|
||||||
require("plugins.dap.dap-ui"),
|
require("plugins.dap.dap-ui"),
|
||||||
|
|
Loading…
Reference in New Issue