diff --git a/modules/programs/neovim.nix b/modules/programs/neovim.nix index 00d3ca8b7..5d9bba7e8 100644 --- a/modules/programs/neovim.nix +++ b/modules/programs/neovim.nix @@ -419,8 +419,8 @@ in { # link the packpath in expected folder so that even unwrapped neovim can pick # home-manager's plugins xdg.dataFile = mkMerge (mapAttrsToList (name: val: { - "nvim/site" = { - source = pkgs.vimUtils.packDir neovimConfig.packpathDirs; + "nvim/site/pack/hm-${name}" = { + source = "${pkgs.neovimUtils.packDir packpathDirs}/pack/${name}"; }; }) neovimConfig.packpathDirs);