feat: richer dapui chrome — controls toolbar, panel titles, nicer icons
This commit is contained in:
2 files changed
+8
-11
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user