[Emacs] lsp-deferred in rust

This commit is contained in:
Ivan Malison 2023-04-16 01:02:23 -06:00
parent 2374a7ab10
commit 799f19ef95
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2799,7 +2799,10 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
;; :hook (rust-mode . lsp) ;; :hook (rust-mode . lsp)
:preface :preface
(progn (progn
(defvar imalison:use-lsp-rust t)
(defun imalison:rust-mode-hook () (defun imalison:rust-mode-hook ()
(when imalison:use-lsp-rust
(lsp-deferred))
(add-to-list 'flycheck-disabled-checkers 'rust-cargo) (add-to-list 'flycheck-disabled-checkers 'rust-cargo)
(add-to-list 'flycheck-disabled-checkers 'rust) (add-to-list 'flycheck-disabled-checkers 'rust)
(add-to-list 'flycheck-disabled-checkers 'rust-clippy) (add-to-list 'flycheck-disabled-checkers 'rust-clippy)
@ -3998,7 +4001,8 @@ modeline and with excessive http requests to github.
** realgud ** realgud
realgud provides debugging support with many external debuggers in emacs realgud provides debugging support with many external debuggers in emacs
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package realgud) (use-package realgud
:disabled t)
#+END_SRC #+END_SRC
** emr ** emr
emr (emacs refactor) provides support for refactoring in many programming languages emr (emacs refactor) provides support for refactoring in many programming languages