remove noselect from completion

This commit is contained in:
krolyxon 2023-06-03 15:07:10 +05:30
parent ad74108660
commit fd1b35e4b7
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,6 @@
local cmp = require("cmp")
-- require("ui").load_highlight "cmp"
vim.o.completeopt = "menu,menuone,noselect"
local function border(hl_name)
return {
@ -17,6 +16,9 @@ local function border(hl_name)
end
local options = {
completion = {
completeopt = "menu,menuone",
},
window = {
completion = {
border = border "CmpBorder",