mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(cmp): preselect entries
This commit is contained in:
parent
25e9c339de
commit
276c46107e
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ return {
|
|||
config = function()
|
||||
local cmp = require("cmp")
|
||||
cmp.setup({
|
||||
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