Closed confususs closed 3 years ago
Can reproduce this on latest nixos-unstable
. Temporary fix is to add fzfWrapper
to pluginDictionaries
, but not really sure why (IIRC this has been fixed in the past).
In case I have time to, I can take a look soon.
The issue is that fzf
(the plain go package) includes in ${fzf.out}/share/vim-plugins
the fzf.vim
plugin file but we don't have a consensus regarding https://github.com/NixOS/nixpkgs/issues/56338 .
I marked this as stale due to inactivity. → More info
Closing to clear up the tracker, if you use the native package manager of vim in nix you should be fine.
Hey, seems to be still broken for me. I am using the syntax from the wiki to install it:
packages.myNvim = with pkgs.vimPlugins; {
start = [
airline
easymotion
editorconfig-vim
fzf
fzf-lsp-nvim
LanguageClient-neovim
ncm2
nnn-vim
surround
syntastic
vim-addon-nix
vim-highlightedyank
vim-which-key
];
};
Is there anything i missed?
Is there anything i missed?
Yes. I'm not using Nix to configure my Vim environment so I might not be super helpful, but I think that specifically for fzf, you should somehow source ${fzf.vim}/share/vim-plugins/fzf/plugin/fzf.vim
in your vimrc before your fzf dependent plugins are loaded. The reason we closed this issue is because we need to reach a consensus regarding how to handle vim plugins like that in general, as discussed a bit in https://github.com/NixOS/nixpkgs/issues/56338 and then we can decide how to address the issue you are experiencing.
Issue description
This problem started after I updated using
nixos-rebuild switch
andhome-manager switch
.I'm using the following packages together:
Snippet from my configuration.nix
Snippet from my home.nix
Steps to reproduce
Technical details
I don't really know where the issue is coming from, maybe the fzfWrapper is not correctly wrapping & exposing fzf anymore? Thank you!