From: Girish Palya Date: Thu, 1 Jun 2023 09:18:20 +0000 (+0200) Subject: Fix merge issue X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9028af96aa9b0d477ea8ba8cae61ea216477111d;p=vim-lsp.git Fix merge issue M autoload/lsp/completion.vim --- diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index 3119db3..5a3797c 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -657,11 +657,10 @@ export def BufferInit(lspserver: dict, bnr: number, ftype: string) if opt.lspOptions.autoComplete if lspserver.completionLazyDoc setbufvar(bnr, '&completeopt', 'menuone,popuphidden,noinsert,noselect') - setbufvar(bnr, '&completepopup', 'width:80,highlight:Pmenu,align:item,border:off') else setbufvar(bnr, '&completeopt', 'menuone,popup,noinsert,noselect') - setbufvar(bnr, '&completepopup', 'border:off') endif + setbufvar(bnr, '&completepopup', 'width:80,highlight:Pmenu,align:item,border:off') # in insert mode stops completion and inserts a if !opt.lspOptions.noNewlineInCompletion :inoremap pumvisible() ? "\\" : "\"