1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01:00

Revert "programs.neovim: link packpath dir in XDG_DATA_HOME (#3717)" (#3817)

This reverts commit deb2f59b5c.
This commit is contained in:
Naïm Favier 2023-03-29 20:25:04 +02:00 committed by GitHub
parent 765e4007b6
commit 0e065e1b6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -394,14 +394,6 @@ in {
home.sessionVariables = mkIf cfg.defaultEditor { EDITOR = "nvim"; };
# 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;
};
}) neovimConfig.packpathDirs);
xdg.configFile =
let hasLuaConfig = hasAttr "lua" config.programs.neovim.generatedConfigs;
in mkMerge (