nix-config-v2/home/neovim.nix

15 lines
292 B
Nix
Raw Normal View History

{dirs, ...}: {
2024-07-29 23:09:42 -05:00
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
};
xdg.configFile = {
nvim = {
onChange = "nvim --headless -c 'if exists(\":LuaCacheClear\") | :LuaCacheClear' +quitall";
source = dirs.defaults + /nvim;
};
};
2024-09-03 21:24:20 -05:00
}