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

bug: blink instalation documentation #77

Closed
4 tasks done
rodhash opened this issue Nov 30, 2024 · 3 comments
Closed
4 tasks done

bug: blink instalation documentation #77

rodhash opened this issue Nov 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@rodhash
Copy link

rodhash commented Nov 30, 2024

Did you check docs and existing issues?

  • I have read all the lazydev.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of lazydev.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.11.0-dev-1028+g6dad1f9f1

Operating system/version

MacOS 15.1.1

Describe the bug

It seems we have a bug in the README about blink's installation.

Installing blink as suggested here got me some errors.

Then checking blink's repo I found out we need to specify a version.

Following what's suggested in blink's repo, this solved the error for me:

    { -- optional blink completion source for require statements and module annotations
      "saghen/blink.cmp",
      version = 'v0.*',
...

Steps To Reproduce

  1. Trying installing blink without providing a version returns this error:
Error  Error executing vim.schedule lua callback: .../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:9: Error while downloading blink.cmp pre-built binary: Can't download from github due to not being on a git tag and no fuzzy.prebuilt_binaries.force_version set, but found no built version of the library. Either run `cargo build --release` via your package manager, switch to a git tag, or set `fuzzy.prebuilt_binaries.force_version` in config. See the README for more info.

Expected Behavior

No error while installing lazydev's dep.

Repro

I dont have a minimal created for this.
@rodhash rodhash added the bug Something isn't working label Nov 30, 2024
@folke
Copy link
Owner

folke commented Nov 30, 2024

How is that a lazydev issue??

@folke folke closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2024
@rodhash
Copy link
Author

rodhash commented Dec 1, 2024

It's not an issue per se but just a documentation update. Shouldn't we update the readme to add the version?

@folke
Copy link
Owner

folke commented Dec 1, 2024

You of course always install a plugin by reading it's docs.
That snippet of lazydev works perfectly fine if you also followed the blink installation docs.
With lazy, property merging that's not an issue

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