vimPlugins: nvimRequireChecks and nvimSkipModules for new nvimRequireCheckHook#360800
vimPlugins: nvimRequireChecks and nvimSkipModules for new nvimRequireCheckHook#360800khaneliman merged 4 commits intoNixOS:masterfrom
Conversation
Some plugins have modules that require setup called or a config/opts. Just requiring the main module instead of creating a large list of skips.
|
We dont want to bundle nvim-cmp with these because of alternative completion plugins existing that can utilize these sources. Adding nvim-cmp to run checkphase, though.
We dont want to bundle nvim-web-devicons with these because of alternative plugins existing that can mock their require. Adding nvim-web-devicons to run checkphase, though.
e6fc76a to
6af0ef2
Compare
|
Just updated note on |
|
It's unusual to start merging unused code. As I feared the number of false positives is concerning. almost 700 lines (and that is without #352277 (comment)) that doesn't bring much in terms of robustness. |
Not sure I understand what the comment means. This was just pulling out the code changes that were already tested in #352277 so we dont cause constant conflicts in the github actions for master -> staging-next -> staging cycle due to the The linked comment are build failures. What is that in relation to this work? |
|
If I understand correctly, this PR does nothing without #352277 ?
Are you talking about pkgs/applications/editors/vim/plugins/overrides.nix ? in my experience it's pretty straightforward to rebase, the chunks are easily identifiable and it's part of the PR process.
Sry for the link, I just meant the PR in general, not the specific comment my bad |
Things done
Pulling out the vimPlugins changes from #352277 so that plugin additions/changes don't cause merge conflicts constantly during staging cycle. They wont have any effect until the hook changes make it to master.
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.