nix/home/config/nvim/module/plugin/Gruvbox.nix

21 lines
582 B
Nix
Raw Normal View History

{ ... }:
{
text = ''
vim.cmd([[
if has('termguicolors')
set termguicolors
endif
]])
2024-04-06 03:03:58 +03:00
vim.o.background = "dark"
2024-10-14 00:59:15 +03:00
vim.g.gruvbox_material_background = "medium"
vim.g.gruvbox_material_foreground = "original"
vim.g.gruvbox_material_transparent_background = 2
-- vim.g.gruvbox_material_better_performance = 1 -- NOTE: Broken on NixOS.
2024-04-06 03:03:58 +03:00
-- vim.cmd("autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE")
vim.cmd("colorscheme gruvbox-material")
vim.cmd("let g:lightline = {'colorscheme' : 'gruvbox_material'}")
'';
2024-04-06 03:03:58 +03:00
}