Files
nix-config-v2/home/neovim.nix

19 lines
337 B
Nix
Raw Normal View History

{...}: let
dirs = {
defaults = ../defaults;
};
in {
2024-07-30 00:09:42 -04: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 22:24:20 -04:00
}