diff --git a/lua/dot013/plugins/ide.lua b/lua/dot013/plugins/ide.lua index 46fa44d..865be33 100644 --- a/lua/dot013/plugins/ide.lua +++ b/lua/dot013/plugins/ide.lua @@ -42,14 +42,6 @@ return { dep_of = { "nvim-lspconfig" }, after = function() require("blink.cmp").setup({ - completion = { - list = { - selection = "auto_insert", - }, - }, - documentation = { - auto_show = true, - }, keymap = { [""] = { "show", "show_documentation", "hide_documentation" }, [""] = { "hide", "fallback" }, @@ -79,15 +71,22 @@ return { require("luasnip").jump(direction) end, }, - sources = { - completion = { - enabled_providers = { - "lsp", - "path", - "snippets", - "buffer", + completion = { + list = { + selection = "auto_insert", + }, + menu = { + draw = { + padding = { 1, 0 }, + columns = { { "label", "label_description", gap = 1 }, { "kind_icon", "kind" } }, + components = { + kind_icon = { width = { fill = true } }, + }, }, }, + documentation = { + auto_show = true, + }, }, }) end,