Wed, 08 Mar 2023 23:06:39 -0600
disable lsp preselect
.config/nvim/lua/plugins/completion.lua | file | annotate | diff | comparison | revisions |
--- 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, }, }