]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
ultisnip minor fix
authorOleksiy Hryshchenko <greeschenko@gmail.com>
Mon, 3 Apr 2023 08:23:34 +0000 (11:23 +0300)
committerOleksiy Hryshchenko <greeschenko@gmail.com>
Mon, 3 Apr 2023 08:23:34 +0000 (11:23 +0300)
autoload/lsp/completion.vim
doc/lsp.txt

index 356ca7fe36761b29dbe1bf4dcf1ebc49188463f6..d68ae87d3b7a23bf620135e92e7e5f2072ea0c67 100644 (file)
@@ -94,11 +94,9 @@ export def CompletionReply(lspserver: dict<any>, cItems: any)
           items->add({
               label: key,
               data: {
-                  #file: '/home/olex/TMP/test/test.js',
                   entryNames: [key],
               },
               kind: 15,
-              #detail: info,
               documentation: info,
           })
       endfor
index 0c54c1a143d73f24cef711d3507d72ec0e524bcb..bef44bb80deec57005f807cf7115dac35793d7b4 100644 (file)
@@ -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.