nix/module/common/nvim/plugin/Gruvbox.lua

14 lines
366 B
Lua
Raw Normal View History

2024-03-05 23:37:21 +03:00
vim.cmd([[
if has('termguicolors')
set termguicolors
endif
]])
vim.o.background = "dark"
2024-03-10 22:47:32 +03:00
vim.g.gruvbox_material_background = "hard"
2024-03-05 23:37:21 +03:00
vim.g.gruvbox_material_foreground = "original"
2024-03-05 23:45:33 +03:00
-- vim.g.gruvbox_material_better_performance = 1 -- NOTE: Broken on NixOS.
2024-03-05 23:37:21 +03:00
vim.cmd("colorscheme gruvbox-material")
2024-03-05 23:37:21 +03:00
vim.cmd("let g:lightline = {'colorscheme' : 'gruvbox_material'}")