1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
return {
{
-- when in doubt, this plugin is the cause of cpu issues.
"blink.cmp",
enabled = true,
lazy = true,
event = {
"InsertEnter",
"CmdlineEnter",
},
after = function()
require("luasnip.loaders.from_vscode").lazy_load()
vim.cmd.packadd("luasnip")
vim.cmd.packadd("friendly-snippets")
require("blink.cmp").setup {
snippets = { preset = 'luasnip' },
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
}
end,
},
test = f
}
|