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

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

Closed
2 tasks done
nowaylifer opened this issue Dec 21, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@nowaylifer
Copy link

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • 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 nowaylifer added the bug Something isn't working label Dec 21, 2024
@Saghen
Copy link
Owner

Saghen commented Dec 21, 2024

That's intentional, I may add it back in the future

@Saghen Saghen closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants