You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Large rewrite of how sources are handled, adding support for async providers/timeouts, tree based fallbacks, dynamically adding sources and some other goodies
Closes#386Closes#219Closes#328Closes#331Closes#312Closes#454Closes#444Closes#372Closes#475
Copy file name to clipboardExpand all lines: lua/blink/cmp/config/completion/trigger.lua
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
--- @fieldshow_in_snippetboolean When false, will not show the completion window when in a snippet
3
3
--- @fieldshow_on_keywordboolean When true, will show the completion window after typing a character that matches the `keyword.regex`
4
4
--- @fieldshow_on_trigger_characterboolean When true, will show the completion window after typing a trigger character
5
-
--- @fieldshow_on_blocked_trigger_charactersstring[] LSPs can indicate when to show the completion window via trigger characters. However, some LSPs (i.e. tsserver) return characters that would essentially always show the window. We block these by default.
5
+
--- @fieldshow_on_blocked_trigger_charactersstring[] | (fun(): string[]) LSPs can indicate when to show the completion window via trigger characters. However, some LSPs (i.e. tsserver) return characters that would essentially always show the window. We block these by default.
6
6
--- @fieldshow_on_accept_on_trigger_characterboolean When both this and show_on_trigger_character are true, will show the completion window when the cursor comes after a trigger character after accepting an item
7
7
--- @fieldshow_on_insert_on_trigger_characterboolean When both this and show_on_trigger_character are true, will show the completion window when the cursor comes after a trigger character when entering insert mode
8
-
--- @fieldshow_on_x_blocked_trigger_charactersstring[] List of trigger characters (on top of `show_on_blocked_trigger_characters`) that won't trigger the completion window when the cursor comes after a trigger character when entering insert mode/accepting an item
8
+
--- @fieldshow_on_x_blocked_trigger_charactersstring[] | (fun(): string[]) List of trigger characters (on top of `show_on_blocked_trigger_characters`) that won't trigger the completion window when the cursor comes after a trigger character when entering insert mode/accepting an item
Copy file name to clipboardExpand all lines: lua/blink/cmp/config/fuzzy.lua
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,24 @@
2
2
--- @fielduse_typo_resistanceboolean When enabled, allows for a number of typos relative to the length of the query. Disabling this matches the behavior of fzf
3
3
--- @fielduse_frecencyboolean Tracks the most recently/frequently used items and boosts the score of the item
4
4
--- @fielduse_proximityboolean Boosts the score of items matching nearby words
5
-
--- @fieldsorts ("label" | "kind" | "score")[] Controls which sorts to use and in which order, these three are currently the only allowed options
5
+
--- @fieldsorts ("label" | "kind" | "score"| blink.cmp.SortFunction)[] Controls which sorts to use and in which order, these three are currently the only allowed options
--- @fielddownloadboolean Whenther or not to automatically download a prebuilt binary from github. If this is set to `false` you will need to manually build the fuzzy binary dependencies by running `cargo build --release`
10
10
--- @fieldforce_version? string When downloading a prebuilt binary, force the downloader to resolve this version. If this is unset then the downloader will attempt to infer the version from the checked out git tag (if any). WARN: Beware that `main` may be incompatible with the version you select
11
11
--- @fieldforce_system_triple? string When downloading a prebuilt binary, force the downloader to use this system triple. If this is unset then the downloader will attempt to infer the system triple from `jit.os` and `jit.arch`. Check the latest release for all available system triples. WARN: Beware that `main` may be incompatible with the version you select
0 commit comments