-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/neovim: fix remote plugin manifest generation #191852
nixos/neovim: fix remote plugin manifest generation #191852
Conversation
Fix works in my neovim-flake |
Have you a better explanation/the commit responsible for that ?
What does that mean ? nightly neovim ? neovim ? |
AutoCommands that have the vim special variable "afile" are the ones that are broken like vim-polyglot and neogit when generating the rplugin.vim Afile is replace with the file name of the current buffer when running the autocommand so running it in ex mode there is nothing to replace it with. The neovim commit that broke this (references in the issue) was a refactor in this area. I am not fully confident in my understanding of why this is happening now, but the commit looks right so I believe this needs fixed in nixpkgs. So if the -E command option is not needed I think that is the best solution. This is not just a problem in one plugin but any plugin using afile in autocommands and the neovim conmit that broke it looks correct for neovim |
what's blocking this merge? @teto @jonringer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from a bird's eye view.
could you try a rebase to fix the ofborg-eval job ? |
Stops using ex mode when running neovim for remote plugin manifest generation, since that leads to errors in more recent neovim versions with various plugins. closes NixOS#189804
fdbb850
to
c0af335
Compare
Done and seems like it did fix the eval job :) |
Description of changes
Stops using ex mode when running neovim for remote plugin manifest generation, since that leads to errors in more recent neovim versions with various plugins.
Relevant discussion in and fix for #189804
Things done
Fix personally tested for
vim-polyglot
and withcurrently used in my configuration
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes