remove CodeLensSync (#1011)

This commit is contained in:
Prabir Shrestha
2021-01-02 23:12:09 -08:00
committed by GitHub
parent 6d928e18ba
commit 62ef9585a1
3 changed files with 1 additions and 12 deletions

View File

@@ -2,7 +2,6 @@
"
" @param option = {
" sync: v:true | v:false = Specify enable synchronous request.
" }
"
function! lsp#ui#vim#code_lens#do(option) abort

View File

@@ -88,7 +88,6 @@ CONTENTS *vim-lsp-contents*
LspCodeAction |:LspCodeAction|
LspCodeActionSync |:LspCodeActionSync|
LspCodeLens |:LspCodeLens|
LspCodeLensSync |:LspCodeLensSync|
LspDocumentDiagnostics |:LspDocumentDiagnostics|
LspDeclaration |:LspDeclaration|
LspDefinition |:LspDefinition|
@@ -1352,10 +1351,6 @@ LspCodeLens *:LspCodeLens*
Gets a list of possible commands that can be executed on the current document.
LspCodeLensSync *:LspCodeLensSync*
Same as |:LspCodeLens| but synchronous.
LspDocumentDiagnostics *:LspDocumentDiagnostics*
Gets the document diagnostics and opens in |location-list|. By default

View File

@@ -80,12 +80,7 @@ command! -range -nargs=* -complete=customlist,lsp#ui#vim#code_action#complete Ls
\ 'selection': <range> != 0,
\ 'query': '<args>'
\ })
command! LspCodeLens call lsp#ui#vim#code_lens#do({
\ 'sync': v:false,
\ })
command! LspCodeLensSync call lsp#ui#vim#code_lens#do({
\ 'sync': v:true,
\ })
command! LspCodeLens call lsp#ui#vim#code_lens#do({})
command! LspDeclaration call lsp#ui#vim#declaration(0, <q-mods>)
command! LspPeekDeclaration call lsp#ui#vim#declaration(1)
command! LspDefinition call lsp#ui#vim#definition(0, <q-mods>)