Any better way to use for all at once min_keyword_length
#2104
Answered
by
Shougo
icoderarely
asked this question in
Q&A
Replies: 1 comment
-
sources = {
-- Static list of providers to enable, or a function to dynamically enable/disable providers based on the context
default = { 'lsp', 'path', 'snippets', 'buffer' },
-- You may also define providers per filetype
per_filetype = {
-- optionally inherit from the `default` sources
-- lua = { inherit_defaults = true, 'lsp', 'path' },
-- vim = { inherit_defaults = true, 'cmdline' },
},
-- Function to use when transforming the items before they're returned for all providers
-- The default will lower the score for snippets to sort them lower in the list
transform_items = function(_, items) return items end,
-- Minimum number of characters in the keyword to trigger all providers
-- May also be `function(ctx: blink.cmp.Context): number`
min_keyword_length = 0,
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Saghen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Any better way to use this
Beta Was this translation helpful? Give feedback.
All reactions