diag.DiagsHighlightDisable()
 enddef
 
-# Display the LSP server capabilities
-export def ShowServerCapabilities()
-  var lspserver: dict<any> = 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>): any
   var lspserver: dict<any> = buf.CurbufGetServerChecked()
 
 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(<q-args>)
 command! -nargs=0 -bar LspShowAllServers lsp.ShowAllServers()
 command! -nargs=0 -bar LspShowSignature call LspShowSignature()