diff --git a/CHANGELOG.develop b/CHANGELOG.develop index e0405629a..32298997f 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -1525,6 +1525,9 @@ Other: (thanks to Matt Kramer) **** Lua - Added support for auto-completion with =company= (thanks to halfcrazy) +**** Language Server Protocol (LSP) +- Replace lsp-capabilities keybinding with lsp-describe-session + (thanks to Bryan Tan) **** Markdown - New layer variable =markdown-mmm-auto-modes= which is a list of language names or lists of language and mode names that are supported in source blocks, you diff --git a/layers/+tools/lsp/README.org b/layers/+tools/lsp/README.org index b3c958ead..13349dcfe 100644 --- a/layers/+tools/lsp/README.org +++ b/layers/+tools/lsp/README.org @@ -22,7 +22,7 @@ This layer adds support for basic language server protocol packages speaking Different language servers may support the language server protocol to varying degrees and they may also provide extensions; check the language server’s website for details. -=M-x lsp-capabilities= in a LSP buffer to list capabilities of the server. +=M-x lsp-describe-session= in a LSP buffer to list capabilities of the server. ** Features: - Cross references (definitions, references, document symbol, workspace symbol @@ -121,7 +121,7 @@ The lsp minor mode bindings are: |-------------+--------------------------------------------------------------------------------| | ~SPC m b r~ | lsp-restart-workspace | | ~SPC m b a~ | execute code action | -| ~SPC m b c~ | lsp-capabilities | +| ~SPC m b d~ | lsp-describe-session | |-------------+--------------------------------------------------------------------------------| | ~SPC m r r~ | rename | |-------------+--------------------------------------------------------------------------------| @@ -200,7 +200,7 @@ etc. * Diagnostics If some features do not work as expected, here is a common check list. -- =M-x lsp-capabilities= If the LSP workspace is initialized correctly +- =M-x lsp-describe-session= If the LSP workspace is initialized correctly - =M-: xref-backend-functions= should be =(lsp--xref-backend)= for cross references - =M-: completion-at-point-functions= should be =(lsp-completion-at-point)= for diff --git a/layers/+tools/lsp/funcs.el b/layers/+tools/lsp/funcs.el index 03c137b3a..8677b2306 100644 --- a/layers/+tools/lsp/funcs.el +++ b/layers/+tools/lsp/funcs.el @@ -51,7 +51,7 @@ https://github.com/emacs-lsp/lsp-javascript/issues/9#issuecomment-379515379" ;;jump ;;backend "ba" #'lsp-execute-code-action - "bc" #'lsp-capabilities + "bd" #'lsp-describe-session "br" #'lsp-restart-workspace ;;refactor "rr" #'lsp-rename