diff --git a/nvim/.config/nvim/lua/romanzy/plugins/blink-cmp.lua b/nvim/.config/nvim/lua/romanzy/plugins/blink-cmp.lua index 2d0a57a..4eb5a28 100644 --- a/nvim/.config/nvim/lua/romanzy/plugins/blink-cmp.lua +++ b/nvim/.config/nvim/lua/romanzy/plugins/blink-cmp.lua @@ -17,8 +17,15 @@ cmp.setup({ -- See :h blink-cmp-config-keymap for defining your own keymap keymap = { preset = 'default' }, - -- (Default) Only show the documentation popup when manually triggered - completion = { documentation = { auto_show = false } }, + completion = { + documentation = { auto_show = false }, + -- list = { + -- selection = { + -- preselect = false, + -- auto_insert = false, + -- }, + -- }, + }, -- (Default) list of enabled providers defined so that you can extend it -- elsewhere in your config, without redefining it, due to `opts_extend` diff --git a/nvim/.config/nvim/lua/romanzy/plugins/lsp.lua b/nvim/.config/nvim/lua/romanzy/plugins/lsp.lua index 5d47533..8a3e183 100644 --- a/nvim/.config/nvim/lua/romanzy/plugins/lsp.lua +++ b/nvim/.config/nvim/lua/romanzy/plugins/lsp.lua @@ -43,19 +43,6 @@ end configure_diagnostics() -vim.api.nvim_create_autocmd("LspAttach", { - callback = function(ev) - local client = vim.lsp.get_client_by_id(ev.data.client_id) - if not client then - return - end - - vim.lsp.completion.enable(true, client.id, ev.buf, { - autotrigger = true, - }) - end, -}) - local capabilities = require("blink.cmp").get_lsp_capabilities() local managed_servers = { "bashls",