mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
remove CodeLensSync (#1011)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
"
|
||||
" @param option = {
|
||||
" sync: v:true | v:false = Specify enable synchronous request.
|
||||
" }
|
||||
"
|
||||
function! lsp#ui#vim#code_lens#do(option) abort
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user