feat: richer dapui chrome — controls toolbar, panel titles, nicer icons

This commit is contained in:
swaits committed 2026-04-11 19:34:01 -06:00
1 parent 8702bcb312
commit 1fcee36139
2 files changed
+8 -11

No files matched your search

+1 -10
View File
@@ -26,7 +26,7 @@ local function ensure_dapui()
if active then M.exit() end
end
-- set winbar titles on dapui panels
-- set winbar titles on dapui panels (REPL gets controls toolbar from dapui)
local titles = {
dapui_scopes = " Scopes",
dapui_watches = " Watches",
@@ -46,15 +46,6 @@ local function ensure_dapui()
end
end,
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "dap-repl",
callback = function(args)
vim.schedule(function()
local win = vim.fn.bufwinid(args.buf)
if win ~= -1 then vim.wo[win].winbar = " REPL" end
end)
end,
})
end
local function ensure_vt()