Add hooks for rainbow-delimiters-mode

This commit is contained in:
Marcel Kapfer 2017-07-21 00:02:24 +02:00
parent fdb4daa05e
commit 3a4b1d3542

View file

@ -187,6 +187,8 @@
;; magit status key ;; magit status key
(global-set-key [f5] 'magit-status) (global-set-key [f5] 'magit-status)
;; enable rainbow delimiters mode in programming modes
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode)
@ -260,3 +262,5 @@
;;; hook for latex math mode ;;; hook for latex math mode
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
;;; hook for rainbox delimiters mode
(add-hook 'TeX-mode-hook #'rainbow-delimiters-mode)