Skip to content
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

plugins/diffview: migrate to mkNeovimPlugin #2944

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

khaneliman
Copy link
Contributor

@khaneliman khaneliman commented Jan 31, 2025

WIP just creating Pr so that I remember that this branch exists... don't remember where I stopped with it.

Copy link

@GNUqb114514 GNUqb114514 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cannot pass the CI check :(

in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "diffview";
originalName = "diffview.nvim";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The arument originalName is not here now, and this causes a build failure.

Copy link
Member

@MattSturgeon MattSturgeon Feb 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
originalName = "diffview.nvim";
packPathName = "diffview.nvim";

LLM? 😝

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the property name before I renamed it from originalName to packPathName

inherit (lib.nixvim) defaultNullOpts;
inherit (lib) types;
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was renamed to:

Suggested change
lib.nixvim.neovim-plugin.mkNeovimPlugin {
lib.nixvim.plugins.mkNeovimPlugin {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants