Loading nixos/modules/programs/neovim.nix +4 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
nixos/modules/programs/neovim.nix +4 −0 Original line number Diff line number Diff line Loading @@ -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