[2024-06-07] Add status col plugin and default feline theme

This commit is contained in:
Andrew Conlin 2024-06-07 10:44:26 +01:00
parent f278ae145c
commit 013e2225eb
4 changed files with 68 additions and 6 deletions

View file

@ -0,0 +1,26 @@
-- :filter Nvim* highlight
local hex = function(n)
return string.format("#%06x", n)
end
local fg = function(n)
colour = vim.api.nvim_get_hl_by_name(n, true)
return hex(colour.foreground)
end
local bg = function(n)
colour = vim.api.nvim_get_hl_by_name(n, true)
return hex(colour.background)
end
return {
bg = '#000000',
black = '#000000',
fg = fg("Normal"),
green = fg("DiagnosticOk"),
blue = fg("DiagnosticHint"),
orange = fg("DiagnosticWarn"),
red = fg("DiagnosticError"),
purple = fg("DiagnosticHint"),
white = '#FFFFFF',
yellow = fg("DiagnosticWarn"),
aqua = fg("DiagnosticHint")
}