From 872be9566d339b280ecc3b09c450ea4ccb0a98f5 Mon Sep 17 00:00:00 2001 From: Oleksiy Hryshchenko Date: Mon, 3 Apr 2023 11:23:34 +0300 Subject: [PATCH] ultisnip minor fix --- autoload/lsp/completion.vim | 2 -- doc/lsp.txt | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index 356ca7f..d68ae87 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -94,11 +94,9 @@ export def CompletionReply(lspserver: dict, cItems: any) items->add({ label: key, data: { - #file: '/home/olex/TMP/test/test.js', entryNames: [key], }, kind: 15, - #detail: info, documentation: info, }) endfor diff --git a/doc/lsp.txt b/doc/lsp.txt index 0c54c1a..bef44bb 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -397,9 +397,11 @@ showSignature |Boolean| option. In insert mode, automatically show snippetSupport |Boolean| option. Enable snippet completion support. Need a snippet completion plugin like vim-vsnip. By default this is set to false. + *lsp-opt-ultisnipsSupport* ultisnipsSupport |Boolean| option. Enable SirVer/ultisnips support. Need a snippet completion plugin SirVer/ultisnips. By default this is set to false. + *lsp-opt-usePopupInCodeAction* usePopupInCodeAction |Boolean| option. When using the |:LspCodeAction| command to display the code action for the current line, use a popup menu instead of echoing. -- 2.48.1