mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/rust: rust-match-angle-brackets = nil (for evil users)
This commit is contained in:
@ -47,7 +47,12 @@
|
|||||||
(setq rustic-indent-method-chain t
|
(setq rustic-indent-method-chain t
|
||||||
rustic-flycheck-setup-mode-line-p nil
|
rustic-flycheck-setup-mode-line-p nil
|
||||||
;; use :editor format instead
|
;; use :editor format instead
|
||||||
rustic-format-on-save nil)
|
rustic-format-on-save nil
|
||||||
|
;; REVIEW `rust-ordinary-lt-gt-p' is terribly expensive in large rust
|
||||||
|
;; buffers, so we disable it, but only for evil users, because it
|
||||||
|
;; affects `forward-sexp' and its ilk. See
|
||||||
|
;; https://github.com/rust-lang/rust-mode/issues/288.
|
||||||
|
rustic-match-angle-brackets (not (featurep! :editor evil)))
|
||||||
|
|
||||||
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
|
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user