[2024-06-07] Add status col plugin and default feline theme
This commit is contained in:
parent
f278ae145c
commit
013e2225eb
4 changed files with 68 additions and 6 deletions
26
nvim/lua/themes/default.lua
Normal file
26
nvim/lua/themes/default.lua
Normal 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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue