fix: remove autoselect for cmp
This commit is contained in:
parent
1cc0ee462f
commit
7fb7a08108
4 changed files with 12 additions and 11 deletions
|
|
@ -14,9 +14,10 @@ return {
|
|||
local cmp = require("cmp")
|
||||
local luasnip = require("luasnip")
|
||||
return {
|
||||
completion = {
|
||||
completeopt = "menu,menuone,noinsert",
|
||||
},
|
||||
preselect = cmp.PreselectMode.None,
|
||||
-- completion = {
|
||||
-- completeopt = "menu,menuone,noinsert",
|
||||
-- },
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue