Replace lsp-capabilities keybinding with lsp-describe-session

Also, move the binding from `SPC m b c` to `SPC m b d`. lsp-capabilities was
replaced with lsp-describe-session in lsp-mode.
This commit is contained in:
Bryan Tan 2019-02-18 21:25:28 -08:00 committed by duianto
parent 3b48c09a7f
commit ab5fb0e58e
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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 servers 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

View File

@ -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