mirror of
https://github.com/nix-community/home-manager
synced 2024-12-03 16:39:46 +01:00
This reverts commit 0e065e1b6f
.
This commit is contained in:
parent
e1aec543f5
commit
b6e728a3a3
1 changed files with 8 additions and 0 deletions
|
@ -416,6 +416,14 @@ in {
|
||||||
|
|
||||||
home.shellAliases = mkIf cfg.vimdiffAlias { vimdiff = "nvim -d"; };
|
home.shellAliases = mkIf cfg.vimdiffAlias { vimdiff = "nvim -d"; };
|
||||||
|
|
||||||
|
# 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 =
|
xdg.configFile =
|
||||||
let hasLuaConfig = hasAttr "lua" config.programs.neovim.generatedConfigs;
|
let hasLuaConfig = hasAttr "lua" config.programs.neovim.generatedConfigs;
|
||||||
in mkMerge (
|
in mkMerge (
|
||||||
|
|
Loading…
Reference in a new issue