[lsp] Change default source of bindings back to spacemacs

as many bindings are not properly set from
the lsp package and the default setting should
just work out of the box.

See #15442 for details.
This commit is contained in:
Maxi Wolff 2022-04-02 22:02:24 +02:00
parent 38c034494d
commit 587f584ebc
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
2 changed files with 3 additions and 1 deletions

View File

@ -203,6 +203,7 @@ The lsp minor mode bindings are:
| ~SPC m g T~ | goto type hierachy (=lsp-treemacs=) |
|---------------+----------------------------------------------------------------------------------|
| Note | /Replaced by the lsp-ui-peek equivalents when ~lsp-navigation~ is ~'peek~ / |
| ~SPC m g b~ | jump back (=xref= / =lsp=) |
| ~SPC m g i~ | find implementations (=lsp-mode=) |
| ~SPC m g d~ | find definitions (=xref= / =lsp-mode=) |
| ~SPC m g r~ | find references (=xref= / =lsp=) |
@ -212,6 +213,7 @@ The lsp minor mode bindings are:
|---------------+----------------------------------------------------------------------------------|
| Note | /Omitted when ~lsp-navigation~ is ~'peek~ or ~'simple~ / |
| | /Bound under ~SPC m g~ rather than ~SPC m G~ when ~lsp-navigation~ == ~'peek~/ |
| ~SPC m G b~ | jump back (=lsp-ui-peek=) |
| ~SPC m G i~ | find implementation (=lsp-ui-peek=) |
| ~SPC m G d~ | find definitions (=lsp-ui-peek=) |
| ~SPC m G r~ | find references (=lsp-ui-peek=) |

View File

@ -37,4 +37,4 @@ If `both', binds lightweight navigation functions under `SPC m g' and lsp-ui fun
(defvar lsp-use-lsp-ui t "When non-nil, use `lsp-ui' package.")
(defvar lsp-use-upstream-bindings t "When non-nil, map keys to `lsp-command-map'.")
(defvar lsp-use-upstream-bindings nil "When non-nil, map keys to `lsp-command-map'.")