Add hooks for rainbow-delimiters-mode
This commit is contained in:
parent
fdb4daa05e
commit
3a4b1d3542
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue