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

Ignore min_keyword_length on trigger character and manual show #643

Open
2 tasks done
mkblast opened this issue Dec 18, 2024 · 1 comment
Open
2 tasks done

Ignore min_keyword_length on trigger character and manual show #643

mkblast opened this issue Dec 18, 2024 · 1 comment
Labels
feature New feature or request sources Specific source provider or the system as a whole trigger Module which decides when to show windows

Comments

@mkblast
Copy link

mkblast commented Dec 18, 2024

Make sure you have done the following

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

Bug Description

When settingmin_keyword_length to any value that isn't 0 (In my case i set it to 3). show_on_trigger_character stops working. There is no error it just start waits for me to type 3 characters before showing me the completions. Imo, it should ignore min_keyword_length.

Relevant configuration

completion = {
    trigger = {
        show_on_trigger_character = true,
    },
},

sources = {
    min_keyword_length = 3,
},

neovim version

NVIM v0.10.2

blink.cmp version: branch, tag, or commit

main

@mkblast mkblast added the bug Something isn't working label Dec 18, 2024
@mkblast
Copy link
Author

mkblast commented Dec 18, 2024

Update: It also ignores show keymap.

keymap = {
    ["<C-space>"] = { "show", "show_documentation", "hide_documentation" },
},

@Saghen Saghen changed the title min_keyword_length breaks show_on_trigger_character Ignore min_keyword_length on trigger character and manual show Dec 19, 2024
@Saghen Saghen added feature New feature or request trigger Module which decides when to show windows sources Specific source provider or the system as a whole and removed bug Something isn't working labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request sources Specific source provider or the system as a whole trigger Module which decides when to show windows
Projects
None yet
Development

No branches or pull requests

2 participants