nix-config-v2/home/neovim.nix
Wyatt J. Miller 41022a0ae3 modified home and neovim module
home explictly needed map wrapper (?) around the existing modules that
are needed
2024-09-14 12:56:44 -04:00

15 lines
292 B
Nix

{dirs, ...}: {
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
};
xdg.configFile = {
nvim = {
onChange = "nvim --headless -c 'if exists(\":LuaCacheClear\") | :LuaCacheClear' +quitall";
source = dirs.defaults + /nvim;
};
};
}