Hi,
I’m having trouble getting neovim plugins to install in home manager. Ive reduced to a very simply configuration (via home-manager programs) to try to debug:
neovim = {
enable = true;
viAlias = true;
vimAlias = true;
extraConfig = ":set number";
plugins = with pkgs.vimPlugins; [
dracula-nvim
...
];
}
I can confirm that with this causes neovim to be installed, that it creates the aliases, and that it creates a basic config with :set number
. However, the plugins don’t seem to be present when I run nvim, and the contents of ~/.config/nvim
only contain the extraConfig
and nothing else (and if I remove the extraConfig
then there is no ~/.config/nvim
at all). It appears that the plugins are being ignored entirely.
I’ve been trying to read the neovim nix source and haven’t spotted the issue. I’ve compared with other nix profiles I’ve found online, and they look similar. I also confirmed that which nvim
points to /home/m/.nix-profile/bin/nvim
.
Any ideas how I can debug this further? Where should the plugins be getting installed to if things are working?
Thanks!