-
I am Winodws 10 user, and set the blink.cmp configuration like this return {
'saghen/blink.cmp',
version = '1.*',
event = 'InsertEnter',
opts = {
keymap = { preset = 'default' },
appearance = { nerd_font_variant = 'mono' },
completion = {
keyword = {
range = 'prefix',
},
documentation = {
auto_show = true
},
},
sources = {
default = {'lsp', 'path', 'snippets', 'buffer'},
per_filetype = {
lua = {'lsp', 'buffer'}
},
min_keyword_length = 0,
},
-- fuzzy = {
-- implementation = 'prefer_rust_with_warning'
-- }
},
opts_extend = {
'sources.default'
},
config = function ()
local capabilities = require('blink.cmp').get_lsp_capabilities()
vim.lsp.config['*'] = {
capabilities = capabilities,
}
end
}
the healthcheckh is this ==============================================================================
blink.cmp: require("blink.cmp.health").check()
System ~
- OK curl is installed
- OK git is installed
- OK Your system is supported by pre-built binaries (x86_64-pc-windows-msvc)
- WARNING blink_cmp_fuzzy lib is not downloaded/built
Sources ~
- WARNING Some providers may show up as "disabled" but are enabled dynamically (i.e. cmdline)
Default sources ~
- lsp (blink.cmp.sources.lsp)
- path (blink.cmp.sources.path)
- buffer (blink.cmp.sources.buffer)
- snippets (blink.cmp.sources.snippets)
Disabled sources ~
- omni (blink.cmp.sources.complete_func)
- cmdline (blink.cmp.sources.cmdline)
|
Beta Was this translation helpful? Give feedback.
Answered by
Jaehaks
Apr 12, 2025
Replies: 1 comment 2 replies
-
I missed important thing... config = function ()
require('blink.cmp').setup(opts)
local capabilities = require('blink.cmp').get_lsp_capabilities()
vim.lsp.config['*'] = {
capabilities = capabilities,
}
end |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Jaehaks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I missed important thing...
If I want ot add
config
field,setup()
must be called inconfig
field