|
@@ -84,13 +84,8 @@ M.winbar_filetype_exclude = {
|
|
"DressingSelect",
|
|
"DressingSelect",
|
|
"Jaq",
|
|
"Jaq",
|
|
"harpoon",
|
|
"harpoon",
|
|
- "dapui_scopes",
|
|
|
|
- "dapui_breakpoints",
|
|
|
|
- "dapui_stacks",
|
|
|
|
- "dapui_watches",
|
|
|
|
"dap-repl",
|
|
"dap-repl",
|
|
"dap-terminal",
|
|
"dap-terminal",
|
|
- "dapui_console",
|
|
|
|
"lab",
|
|
"lab",
|
|
"Markdown",
|
|
"Markdown",
|
|
"",
|
|
"",
|
|
@@ -112,6 +107,28 @@ M.get_filename = function()
|
|
file_icon = lvim.icons.kind.File
|
|
file_icon = lvim.icons.kind.File
|
|
end
|
|
end
|
|
|
|
|
|
|
|
+ local buf_ft = vim.bo.filetype
|
|
|
|
+
|
|
|
|
+ if buf_ft == "dapui_breakpoints" then
|
|
|
|
+ file_icon = lvim.icons.ui.Bug
|
|
|
|
+ end
|
|
|
|
+
|
|
|
|
+ if buf_ft == "dapui_stacks" then
|
|
|
|
+ file_icon = lvim.icons.ui.Stacks
|
|
|
|
+ end
|
|
|
|
+
|
|
|
|
+ if buf_ft == "dapui_scopes" then
|
|
|
|
+ file_icon = lvim.icons.ui.Scopes
|
|
|
|
+ end
|
|
|
|
+
|
|
|
|
+ if buf_ft == "dapui_watches" then
|
|
|
|
+ file_icon = lvim.icons.ui.Watches
|
|
|
|
+ end
|
|
|
|
+
|
|
|
|
+ if buf_ft == "dapui_console" then
|
|
|
|
+ file_icon = lvim.icons.ui.DebugConsole
|
|
|
|
+ end
|
|
|
|
+
|
|
local navic_text = vim.api.nvim_get_hl_by_name("Normal", true)
|
|
local navic_text = vim.api.nvim_get_hl_by_name("Normal", true)
|
|
vim.api.nvim_set_hl(0, "Winbar", { fg = navic_text.foreground })
|
|
vim.api.nvim_set_hl(0, "Winbar", { fg = navic_text.foreground })
|
|
|
|
|