feat(ui): removed nui dependency and now have tabbed ui for current project and recent folders and files

chore(all): just cleaned up and removed some redundant code
This commit is contained in:
DarthMooMancer
2025-06-21 02:56:01 -04:00
parent 69c648c4f4
commit 8c2498d00f
7 changed files with 202 additions and 231 deletions
+20 -1
View File
@@ -21,7 +21,26 @@ function M.setup(opts)
})
vim.api.nvim_create_autocmd("ColorScheme", {
callback = function()
require("Polydev.styles").setup_highlights()
local function define(name, o)
if vim.fn.hlexists(name) == 0 then
vim.api.nvim_set_hl(0, name, o)
end
end
define("PolydevNormal", {
fg = vim.api.nvim_get_hl(0, { name = "NormalFloat", link = true }).fg,
bg = vim.api.nvim_get_hl(0, { name = "Normal", link = true }).bg,
})
define("PolydevBorder", {
fg = vim.api.nvim_get_hl(0, { name = "FloatBorder", link = true }).fg,
bg = vim.api.nvim_get_hl(0, { name = "Normal", link = true }).bg,
})
define("PolydevTitle", {
fg = vim.api.nvim_get_hl(0, { name = "FloatTitle", link = true }).fg, bold = true,
bg = vim.api.nvim_get_hl(0, { name = "Normal", link = true }).bg,
})
end,
})
end