This reverts commit deb2f59b5c
.
This commit is contained in:
parent
765e4007b6
commit
0e065e1b6f
|
@ -394,14 +394,6 @@ in {
|
||||||
|
|
||||||
home.sessionVariables = mkIf cfg.defaultEditor { EDITOR = "nvim"; };
|
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 =
|
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