rework: check description
docs: removed lines about plenary removal: plenary chore: optmized presets load to default nil as 'max' rework: changed window format of manager and added coloring Future plans: Add custom highlight-groups for Polydev to configure border and background or manager
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
local M = {}
|
||||
|
||||
function M.setup_highlights()
|
||||
-- Only set if not already defined by colorscheme
|
||||
local function define(name, opts)
|
||||
if vim.fn.hlexists(name) == 0 then
|
||||
vim.api.nvim_set_hl(0, name, opts)
|
||||
end
|
||||
end
|
||||
|
||||
define("PolydevNormal", {
|
||||
fg = vim.api.nvim_get_hl_by_name("NormalFloat", true).foreground,
|
||||
bg = vim.api.nvim_get_hl_by_name("Normal", true).background
|
||||
})
|
||||
|
||||
define("PolydevBorder", {
|
||||
fg = vim.api.nvim_get_hl_by_name("Function", true).foreground,
|
||||
bg = vim.api.nvim_get_hl_by_name("Normal", true).background
|
||||
})
|
||||
define("PolydevTitle", { fg = "#89dceb", bold = true })
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user