mirror of
https://github.com/Ascyii/nvim.git
synced 2026-01-01 12:14:24 -05:00
22 lines
503 B
Lua
22 lines
503 B
Lua
return {
|
|
"ellisonleao/gruvbox.nvim",
|
|
|
|
config = function()
|
|
-- Useful for terminal emulators with a transparent background
|
|
local function transparentBackground()
|
|
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
|
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
|
end
|
|
|
|
require("gruvbox").setup({
|
|
palette_overrides = {
|
|
bright_yellow = "#AD5944"; -- workaround
|
|
}
|
|
})
|
|
|
|
vim.cmd.colorscheme("gruvbox")
|
|
|
|
transparentBackground()
|
|
end
|
|
}
|