NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.48k stars 13.67k forks source link

nvim: vim plugins not found #146696

Closed matthiasbeyer closed 2 years ago

matthiasbeyer commented 2 years ago

Describe the bug

As a successor of #145980 - fugitive is not found although linked in the nvim package configuration.

From the issue linked above:

 packages.nixbundle.start = with (pkgs.vimPlugins // plugins); [
    vim-trailing-whitespace
    vim-signify
    fugitive
    undotree
    vim-toml
    Tabular
    editorconfig-vim
    vim-signature
    rust-vim
    vinegar
    ultisnips
    vim-snippets

    Tagbar
    vim-addon-nix
    vim-markbar
    fzf-preview

    ncm2
    ncm2-ultisnips
    ncm2-bufword
    ncm2-path
    ncm2-tmux
    ncm2-look
    ncm2-otherbuf

    unstable.vimPlugins.vim-which-key
    papercolor-theme
  ];

  packages.nixbundle.opt = with pkgs.vimPlugins; [
    LanguageClient-neovim
  ];

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.155, NixOS, 21.05.git.9e86f5f7a19 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(m): `""`
 - channels(root): `""`
 - nixpkgs: `/var/src/nixpkgs`
matthiasbeyer commented 2 years ago

In fact, no plugin is found.

@sandhose @jlesquembre

matthiasbeyer commented 2 years ago

When building nvim from my old unstable version, which still has nvim 0.5.0, it works all fine. So the issue is the update of neovim to 0.5.1 as far as I can see. @manveru @rvolosatovs @Ma27 (neovim maintainers) @gebner (neovim 0.5.1 updater)

matthiasbeyer commented 2 years ago

This is actually related to #154299 as far as I can see

matthiasbeyer commented 2 years ago

See #154299 for solution.