Skip to content

Commit 6f643bd

Browse files
committed
Change DAP icons
1 parent e33b0d9 commit 6f643bd

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

dots/nvim/lua/options.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,13 @@ o.fillchars = {
3535
}
3636

3737
o.conceallevel = 2
38+
39+
-- dap icons
40+
vim.api.nvim_set_hl(0, "DapBreakpoint", { fg = "#f38ba8", })
41+
vim.fn.sign_define("DapBreakpoint", {
42+
text = "󰑊",
43+
texthl = "DapBreakpoint",
44+
})
45+
46+
vim.api.nvim_set_hl(0, "DapStopped", { fg = "#a6e3a1" })
47+
vim.fn.sign_define("DapStopped", { text = "", texthl = "DapStopped" })

dots/nvim/lua/plugins/nvim-dap.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
local dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "rcarriga/nvim-dap-ui" }
1+
local dependencies = {
2+
"mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "rcarriga/nvim-dap-ui",
3+
}
24

35
--- @type table<integer, table<string, string>>
46
local tensor_shapes = {}
@@ -26,7 +28,6 @@ local function display_tensor(variable, buf, stackframe, node, options)
2628
end
2729

2830
if tensor_shapes[stackframe.line][variable.name] then
29-
-- Return the cached shape if available
3031
local value = tensor_shapes[stackframe.line][variable.name]
3132
if options.virt_text_pos == 'inline' then
3233
return " : " .. value:gsub("%s+", " ")

0 commit comments

Comments
 (0)