rust: respect lsp-use-upstream-bindings

This is needed after 1d45278a71
This commit is contained in:
Lucius Hu 2022-01-31 04:14:59 +00:00 committed by GitHub
parent 42dc30e33c
commit d2b566406a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@
(spacemacs/declare-prefix-for-mode 'rust-mode "ms" "switch")
(spacemacs/set-leader-keys-for-major-mode 'rust-mode
"ss" 'spacemacs/lsp-rust-switch-server
"bR" 'spacemacs/lsp-rust-analyzer-reload-workspace))
(if lsp-use-upstream-bindings "wR" "bR") 'spacemacs/lsp-rust-analyzer-reload-workspace))
(spacemacs//lsp-layer-not-installed-message)))
(defun spacemacs//rust-setup-lsp-dap ()