Related to #1372, it appears that `super-save` doesn't play nicely with LSP features in `rust-mode`.
This commit is contained in:
parent
7aa4ae9fc1
commit
1e9336dc03
2 changed files with 4 additions and 0 deletions
modules
|
@ -48,6 +48,9 @@
|
|||
(require 'tree-sitter)
|
||||
(require 'tree-sitter-langs)
|
||||
|
||||
(add-to-list 'super-save-predicates
|
||||
(lambda () (not (eq major-mode 'rust-mode))))
|
||||
|
||||
(with-eval-after-load 'rust-mode
|
||||
(add-hook 'rust-mode-hook 'cargo-minor-mode)
|
||||
(add-hook 'flycheck-mode-hook 'flycheck-rust-setup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue