Update blink config
This commit is contained in:
parent
30e8c182f6
commit
9288819747
1 changed files with 23 additions and 6 deletions
|
|
@ -1,13 +1,30 @@
|
||||||
return {
|
return {
|
||||||
"saghen/blink.cmp",
|
"saghen/blink.cmp",
|
||||||
lazy = false,
|
version = "1.1.1",
|
||||||
version = "v0.*",
|
---@module 'blink.cmp'
|
||||||
---@module "blink.cmp"
|
|
||||||
---@type blink.cmp.Config
|
---@type blink.cmp.Config
|
||||||
opts = {
|
opts = {
|
||||||
keymap = { preset = "super-tab" },
|
keymap = { preset = "super-tab" },
|
||||||
|
|
||||||
|
appearance = {
|
||||||
|
nerd_font_variant = "mono"
|
||||||
},
|
},
|
||||||
-- allows extending the enabled_providers array elsewhere in your config
|
|
||||||
-- without having to redefining it
|
-- (Default) Only show the documentation popup when manually triggered
|
||||||
opts_extend = { "sources.completion.enabled_providers" }
|
completion = { documentation = { auto_show = false } },
|
||||||
|
|
||||||
|
-- Default list of enabled providers defined so that you can extend it
|
||||||
|
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||||
|
sources = {
|
||||||
|
default = { "lsp", "path", "snippets", "buffer" },
|
||||||
|
},
|
||||||
|
|
||||||
|
-- (Default) Rust fuzzy matcher for typo resistance and significantly better performance
|
||||||
|
-- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation,
|
||||||
|
-- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"`
|
||||||
|
--
|
||||||
|
-- See the fuzzy documentation for more information
|
||||||
|
fuzzy = { implementation = "prefer_rust_with_warning" }
|
||||||
|
},
|
||||||
|
opts_extend = { "sources.default" }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue