autoload/lsp/lsp.vim | 10 ---------- plugin/lsp.vim | 2 +- diff --git a/autoload/lsp/lsp.vim b/autoload/lsp/lsp.vim index 4aa423443182b71ef1de7ee271d37e2bfa953a54..0070fa86b0a859a2e30f249f28bb0d667dee3a71 100644 --- a/autoload/lsp/lsp.vim +++ b/autoload/lsp/lsp.vim @@ -1007,16 +1007,6 @@ export def DiagHighlightDisable() diag.DiagsHighlightDisable() enddef -# Display the LSP server capabilities -export def ShowServerCapabilities() - var lspserver: dict = buf.CurbufGetServerChecked() - if lspserver->empty() - return - endif - - lspserver.showCapabilities() -enddef - # Function to use with the 'tagfunc' option. export def TagFunc(pat: string, flags: string, info: dict): any var lspserver: dict = buf.CurbufGetServerChecked() diff --git a/plugin/lsp.vim b/plugin/lsp.vim index 37636e3064640af06ca688d5868335769ea31d45..319a0736df6aafb04e150800e1bc1a12b894e420 100644 --- a/plugin/lsp.vim +++ b/plugin/lsp.vim @@ -124,7 +124,7 @@ command! -nargs=1 -complete=customlist,LspServerTraceComplete -bar LspServerTrace lsp.ServerTraceSet() command! -nargs=0 -bar LspShowReferences lsp.ShowReferences(v:false) # The :LspShowServerCapabilities command is retained for backward # compatibility. Remove this in the future. -command! -nargs=0 -bar LspShowServerCapabilities lsp.ShowServerCapabilities() +command! -nargs=0 -bar LspShowServerCapabilities :LspShowServer capabilities command! -nargs=? -complete=customlist,LspShowServerComplete -bar LspShowServer lsp.ShowServer() command! -nargs=0 -bar LspShowAllServers lsp.ShowAllServers() command! -nargs=0 -bar LspShowSignature call LspShowSignature()