blink.cmp icon indicating copy to clipboard operation
blink.cmp copied to clipboard

`ctx` param is always nil in `enabled` function of a provider specific opts after v0.8.0

Open nowaylifer opened this issue 1 year ago • 0 comments

Make sure you have done the following

  • [X] I have updated to the latest version of blink.cmp
  • [X] I have read the README

Bug Description

wasn't an issue prior to v0.8.0

Relevant configuration

sources = {
  providers = {
    lsp = {
      enabled = function(ctx)
        vim.print(ctx) -- always nil
        return true
      end,
    },
  },
}

neovim version

v0.10.2

blink.cmp version: branch, tag, or commit

v0.8.0

nowaylifer avatar Dec 21 '24 07:12 nowaylifer