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

20 lines
550 B
Nix
Raw Normal View History

2024-11-04 04:37:29 +03:00
{ ... }: {
text = ''
vim.cmd([[
if has('termguicolors')
set termguicolors
endif
]])
2024-04-06 03:03:58 +03:00
2024-11-04 04:37:29 +03:00
vim.o.background = "dark"
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
2024-11-04 04:37:29 +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
}