lang/rust: rust-match-angle-brackets = nil (for evil users)
This commit is contained in:
parent
f1d622e0a4
commit
fecca3188a
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue