# HG changeset patch # User Meredith Howard # Date 1678338399 21600 # Node ID 72b613de1102cfd02013ecb63aec07c9b13459d0 # Parent 0e871a1b59e341b1cf88bdc1493ff3c1079c0474 disable lsp preselect diff --git a/.config/nvim/lua/plugins/completion.lua b/.config/nvim/lua/plugins/completion.lua --- a/.config/nvim/lua/plugins/completion.lua +++ b/.config/nvim/lua/plugins/completion.lua @@ -12,9 +12,10 @@ return { "hrsh7th/cmp-path", "quangnguyen30192/cmp-nvim-tags", }, - opts = function() + config = function() local cmp = require("cmp") - return { + cmp.setup({ + preselect = cmp.PreselectMode.None, completion = { keyword_length = 3, }, @@ -54,7 +55,7 @@ return { { name = "tags" }, { name = "calc" }, }), - } + }) end, }, }