Closed samhh closed 2 years ago
Happens when hitting e
in git add -p
as well.
I think it's a discrepancy between my Home Manager nvim and editorBin
.
realpath $(which nvim)
and the path in $EDITOR
and $MANPAGER
don't align.
Reading those (they're shell scripts) there's a path provided at the end via --cmd
, which I think was recently introduced with: https://github.com/NixOS/nixpkgs/pull/184364
The former has all my plugins and the latter doesn't, but the latter will still be reading from ~/.config/nvim/
.
Some Home Manager programs expose config.programs.<program>.finalPackage
, however this is hidden for Neovim: https://github.com/nix-community/home-manager/blob/688e5c85b7537f308b82167c8eb4ecfb70a49861/modules/programs/neovim.nix#L214
No change if editorBin
references pkgs.neovim-unwrapped
to match editor.nix
.
Since https://github.com/samhh/dotfiles/commit/99b7512574cab36f3a2aef6cf5173720711cc6fb.
etc
Only with
man foo
withMANPAGER
set. Not withnvim +Man!
directly.