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

feat(api): Add support for install options #577

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

simifalaye
Copy link
Contributor

As per this discussion: #575

This PR adds support for install options to the api, specifically, the option to specify a relative config path to install a new rock to. The config path is then added to the imports of the base configuration file.

lua/rocks/api/init.lua Outdated Show resolved Hide resolved
lua/rocks/operations/add.lua Show resolved Hide resolved
lua/rocks/operations/helpers/init.lua Outdated Show resolved Hide resolved
lua/rocks/operations/pin.lua Outdated Show resolved Hide resolved
@simifalaye
Copy link
Contributor Author

Note @mrcjkb, if i'm seeing this correctly, toml-edit is being pulled in as a nix package and you are the maintainer? If so, toml-edit-0.6.0 will need to be added since only 0.5.0 exists

@mrcjkb
Copy link
Member

mrcjkb commented Nov 7, 2024

Note @mrcjkb, if i'm seeing this correctly, toml-edit is being pulled in as a nix package and you are the maintainer? If so, toml-edit-0.6.0 will need to be added since only 0.5.0 exists

@mrcjkb
Copy link
Member

mrcjkb commented Nov 10, 2024

Needs a rebase and conflict resolution (I've bumped the toml-edit dependency to >= 0.6.1).

@simifalaye
Copy link
Contributor Author

Should be done. Please review again as I also corrected some things (changing the internal code to use the new api options also)

Copy link
Member

@mrcjkb mrcjkb left a comment

Choose a reason for hiding this comment

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

Will have to check the rocks.nvim modules for use of the deprecated API call before releasing.

@mrcjkb mrcjkb merged commit e3fb716 into nvim-neorocks:master Nov 16, 2024
7 checks passed
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.

2 participants