X-Git-Url: https://git.madduck.net/etc/lazyvim.git/blobdiff_plain/b469f35cbc457f679647720d161bc32efc3422e5..b7c4a783209bd52631f9b2ef0d7fa07906a12c12:/.config/lazyvim/lua/plugins/blink-cmp.lua diff --git a/.config/lazyvim/lua/plugins/blink-cmp.lua b/.config/lazyvim/lua/plugins/blink-cmp.lua index f57bb3e..8418e2f 100644 --- a/.config/lazyvim/lua/plugins/blink-cmp.lua +++ b/.config/lazyvim/lua/plugins/blink-cmp.lua @@ -2,6 +2,19 @@ return { "saghen/blink.cmp", opts = { sources = { + providers = { + path = { + opts = { + get_cwd = function(_) + return vim.fn.getcwd() + end, + }, + }, + }, + default = { "lsp", "buffer", "snippets", "path", "lazydev" }, + per_filetype = { + mail = { "lbdb", "emoji", "snippets", "path" }, + }, }, keymap = { preset = "default", @@ -19,12 +32,10 @@ return { }, }, completion = { - list = { - selection = { - preselect = false, - auto_insert = false, - }, + ghost_text = { + enabled = false, }, }, + signature = { enabled = true }, }, }