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

Breaking changes on main #89

Open
saecki opened this issue Oct 6, 2023 · 5 comments
Open

Breaking changes on main #89

saecki opened this issue Oct 6, 2023 · 5 comments

Comments

@saecki
Copy link
Owner

saecki commented Oct 6, 2023

This issue tracks the breaking changes on the main branch.

We follow the Conventional Commits specification, so breaking changes will always be marked with an !. If you use packer.nvim or lazy.nvim, they will be highlighted on update.

If you find breaking changes too disruptive to your workflow, the recommendation is to either follow the stable tag which should point to the most recent release, or even pin a release tag directly like v0.4.0.

@saecki
Copy link
Owner Author

saecki commented Oct 6, 2023

#86 changes the way the nvim-cmp source is registered. It has to be manually enabled from now on.

require("crates").setup {
    completion = {
        cmp = {
            enabled = true
        },
    },
}

If you have disabled autoload, you'll have to manually register the source.

require("crates.completion.cmp").setup()

@saecki saecki pinned this issue Oct 6, 2023
@KaitlynEthylia
Copy link
Contributor

#120 renamed the src module and config option to completion

@saecki
Copy link
Owner Author

saecki commented Jul 1, 2024


v0.5.0


@saecki
Copy link
Owner Author

saecki commented Aug 8, 2024

#145 removes the need for the open_programs config option, and used vim.ui.open() instead.

@saecki
Copy link
Owner Author

saecki commented Sep 2, 2024

0d23dc4 disables neoconf integration by default, it has to be enabled manually from now on.

require("crates").setup {
    neoconf = {
        enabled = true,
    },
}

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

No branches or pull requests

2 participants