nixos/neovim: add /share/nvim to pathsToLink
This commit is contained in:
parent
5a044fb36a
commit
91fb48da75
@ -150,6 +150,10 @@ in
|
||||
cfg.finalPackage
|
||||
];
|
||||
environment.variables.EDITOR = lib.mkIf cfg.defaultEditor (lib.mkOverride 900 "nvim");
|
||||
# On most NixOS configurations /share is already included, so it includes
|
||||
# this directory as well. But This makes sure that /share/nvim/site paths
|
||||
# from other packages will be used by neovim.
|
||||
environment.pathsToLink = [ "/share/nvim" ];
|
||||
|
||||
environment.etc = builtins.listToAttrs (builtins.attrValues (builtins.mapAttrs
|
||||
(name: value: {
|
||||
|
Loading…
Reference in New Issue
Block a user