[2024-05-09] Adding updated nvim config, stripping down .vimrc
This commit is contained in:
parent
a2b0423cc9
commit
762776ef54
6 changed files with 103 additions and 44 deletions
20
nvim/lua/themes/gruvbox.lua
Normal file
20
nvim/lua/themes/gruvbox.lua
Normal file
|
@ -0,0 +1,20 @@
|
|||
-- :filter Gruvbox* highlight
|
||||
local hex = function(n)
|
||||
return string.format("#%06x", n)
|
||||
end
|
||||
local colo = function(n)
|
||||
colour = vim.api.nvim_get_hl_by_name(n, true)
|
||||
return hex(colour.foreground)
|
||||
end
|
||||
return {
|
||||
bg = colo("GruvboxBg0"),
|
||||
black = '#000000',
|
||||
fg = colo("GruvboxFg0"),
|
||||
green = colo("GruvboxGreen"),
|
||||
blue = colo("GruvboxBlue"),
|
||||
orange = colo("GruvboxOrange"),
|
||||
red = colo("GruvboxRed"),
|
||||
purple = colo("GruvboxPurple"),
|
||||
white = '#FFFFFF',
|
||||
yellow = colo("GruvboxYellow")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue