mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 09:40:14 +00:00
neovim colors.lua based on colorscheme
This commit is contained in:
@ -11,7 +11,11 @@
|
||||
|
||||
xdg.configFile = {
|
||||
"nvim/init.lua".source = ./init.lua;
|
||||
"nvim/lua".source = ./lua;
|
||||
"nvim/lua" = {
|
||||
source = ./lua;
|
||||
recursive = true; # Allows adding more files
|
||||
};
|
||||
"nvim/lua/packer/colors.lua".text = config.gui.colorscheme.neovimConfig;
|
||||
};
|
||||
|
||||
programs.git.extraConfig.core.editor = "nvim";
|
||||
|
@ -1,17 +0,0 @@
|
||||
local M = {}
|
||||
|
||||
M.packer = function(use)
|
||||
-- Colorscheme
|
||||
use({
|
||||
"morhetz/gruvbox",
|
||||
config = function()
|
||||
vim.g.gruvbox_italic = 1
|
||||
vim.cmd([[
|
||||
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
|
||||
colorscheme gruvbox
|
||||
]])
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
Reference in New Issue
Block a user