diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 73ee88c..4e82771 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -2,7 +2,6 @@ local lsp = require("lsp-zero") lsp.extend_cmp() local cmp = require('cmp') -local cmp_select = { behavior = cmp.SelectBehavior.Select } cmp.setup({ window = { @@ -10,8 +9,8 @@ cmp.setup({ documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ - [''] = cmp.mapping.select_prev_item(cmp_select), - [''] = cmp.mapping.select_next_item(cmp_select), + [''] = cmp.mapping.select_prev_item(), + [''] = cmp.mapping.select_next_item(), [''] = cmp.mapping.confirm({ select = true }), [""] = cmp.mapping.complete(), [''] = nil,