Skip to content

Commit 62ef958

Browse files
remove CodeLensSync (#1011)
1 parent 6d928e1 commit 62ef958

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

autoload/lsp/ui/vim/code_lens.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
"
44
" @param option = {
5-
" sync: v:true | v:false = Specify enable synchronous request.
65
" }
76
"
87
function! lsp#ui#vim#code_lens#do(option) abort

doc/vim-lsp.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ CONTENTS *vim-lsp-contents*
8888
LspCodeAction |:LspCodeAction|
8989
LspCodeActionSync |:LspCodeActionSync|
9090
LspCodeLens |:LspCodeLens|
91-
LspCodeLensSync |:LspCodeLensSync|
9291
LspDocumentDiagnostics |:LspDocumentDiagnostics|
9392
LspDeclaration |:LspDeclaration|
9493
LspDefinition |:LspDefinition|
@@ -1352,10 +1351,6 @@ LspCodeLens *:LspCodeLens*
13521351

13531352
Gets a list of possible commands that can be executed on the current document.
13541353

1355-
LspCodeLensSync *:LspCodeLensSync*
1356-
1357-
Same as |:LspCodeLens| but synchronous.
1358-
13591354
LspDocumentDiagnostics *:LspDocumentDiagnostics*
13601355

13611356
Gets the document diagnostics and opens in |location-list|. By default

plugin/lsp.vim

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,7 @@ command! -range -nargs=* -complete=customlist,lsp#ui#vim#code_action#complete Ls
8080
\ 'selection': <range> != 0,
8181
\ 'query': '<args>'
8282
\ })
83-
command! LspCodeLens call lsp#ui#vim#code_lens#do({
84-
\ 'sync': v:false,
85-
\ })
86-
command! LspCodeLensSync call lsp#ui#vim#code_lens#do({
87-
\ 'sync': v:true,
88-
\ })
83+
command! LspCodeLens call lsp#ui#vim#code_lens#do({})
8984
command! LspDeclaration call lsp#ui#vim#declaration(0, <q-mods>)
9085
command! LspPeekDeclaration call lsp#ui#vim#declaration(1)
9186
command! LspDefinition call lsp#ui#vim#definition(0, <q-mods>)

0 commit comments

Comments
 (0)