crates.nvim icon indicating copy to clipboard operation
crates.nvim copied to clipboard

Breaking changes on main

Open saecki opened this issue 2 years ago • 7 comments

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 avatar Oct 06 '23 09:10 saecki

#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 avatar Oct 06 '23 10:10 saecki

#120 renamed the src module and config option to completion

KaitlynEthylia avatar May 12 '24 19:05 KaitlynEthylia


v0.5.0


saecki avatar Jul 01 '24 10:07 saecki

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

saecki avatar Aug 08 '24 19:08 saecki