feat: add sainnhe/gruvbox-material

This commit is contained in:
Matej Janezic 2025-10-04 14:31:08 +02:00
parent 2529b023fb
commit f9fb091e03
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
2 changed files with 22 additions and 1 deletions

View File

@ -23,7 +23,9 @@ _G.Config = {}
-- import other plugins -- import other plugins
local r = function(m) require("plugins." .. m) end local r = function(m) require("plugins." .. m) end
local order = {} local order = {
"colorscheme",
}
for _, m in ipairs(order) do for _, m in ipairs(order) do
r(m) r(m)

View File

@ -0,0 +1,19 @@
add, now, later = MiniDeps.add, MiniDeps.now, MiniDeps.later
now(function()
add("sainnhe/gruvbox-material")
vim.o.background = "dark"
vim.g.gruvbox_material_background = "light"
vim.g.gruvbox_material_better_performance = 1
vim.g.gruvbox_material_diagnostic_line_highlight = 1
vim.g.gruvbox_material_diagnostic_virtual_text = "colored"
vim.g.gruvbox_material_enable_bold = 1
vim.g.gruvbox_material_enable_italic = 1
-- vim.api.nvim_set_hl(0, "FloatBorder", { link = "Normal" })
-- vim.api.nvim_set_hl(0, "LspInfoBorder", { link = "Normal" })
-- vim.api.nvim_set_hl(0, "NormalFloat", { link = "Normal" })
vim.cmd.colorscheme("gruvbox-material")
end)