mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-22 20:21:57 +00:00
Switched raw cmp config for blink.cmp
This commit is contained in:
27
lua/plugins/completions.lua
Normal file
27
lua/plugins/completions.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets",
|
||||
},
|
||||
version = "1.*",
|
||||
|
||||
---@module "blink.cmp"
|
||||
---@type blink.cmp.Config
|
||||
opts = {
|
||||
keymap = {
|
||||
preset = "super-tab",
|
||||
auto_show_delay_ms = 500,
|
||||
},
|
||||
appearance = {
|
||||
nerd_font_variant = "mono"
|
||||
},
|
||||
completion = { documentation = { auto_show = false } },
|
||||
sources = {
|
||||
default = { "lsp", "path", "snippets", "buffer" },
|
||||
},
|
||||
fuzzy = { implementation = "prefer_rust_with_warning" }
|
||||
},
|
||||
opts_extend = { "sources.default" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user