mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/rust: enable rainbow-delimiters-mode #1787
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
:defer t
|
||||
:config
|
||||
(setq rust-indent-method-chain t)
|
||||
(add-hook 'rust-mode-hook #'rainbow-delimiters-mode)
|
||||
|
||||
;; This is necessary because both plugins are fighting for supremacy in
|
||||
;; `auto-mode-alist', so rustic-mode *must* load second. It only needs to
|
||||
@ -51,6 +52,8 @@
|
||||
;; use :editor format instead
|
||||
rustic-format-on-save nil)
|
||||
|
||||
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
|
||||
|
||||
;; `rustic-setup-rls' uses `package-installed-p' unnecessarily, which breaks
|
||||
;; because Doom lazy loads package.el.
|
||||
(defadvice! +rust--disable-package-call-a (orig-fn &rest args)
|
||||
|
Reference in New Issue
Block a user