neovim: add plugins and themes

This commit is contained in:
Fabian Montero 2025-09-12 15:27:22 -06:00
parent 00c44ba7ed
commit f9a6d798ea
Signed by: fabian
GPG key ID: 3EDA9AE3937CCDE3

View file

@ -40,8 +40,66 @@ in {
'';
plugins = with pkgs.vimPlugins; [
barbar-nvim
nvim-web-devicons
vim-nix
vim-visual-multi
{
plugin = nvim-tree-lua;
type = "lua";
config = ''
require("nvim-tree").setup({
renderer = {
icons = {
show = {
file = true,
folder = true,
folder_arrow = true,
git = true,
},
glyphs = {
git = {
unstaged = "",
staged = "",
unmerged = "",
renamed = "",
untracked = "",
deleted = "",
ignored = "",
},
},
},
},
view = {
width = 30,
side = 'left',
},
sync_root_with_cwd = true, --fix to open cwd with tree
respect_buf_cwd = true,
update_cwd = true,
update_focused_file = {
enable = true,
update_cwd = true,
update_root = true,
},
})
vim.g.nvim_tree_respect_buf_cwd = 1
-- use g? for bindings help while in tree
'';
}
{
plugin = gruvbox-nvim;
type = "lua";
config = ''
require("gruvbox").setup({
contrast = "high",
})
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])
'';
}
];
};
home.sessionVariables = {