Add rainbow-delimiters to prog-mode

This commit is contained in:
Tom Willemse 2020-03-19 23:16:08 -07:00
parent 099356512e
commit 8216f2dc83
2 changed files with 4 additions and 0 deletions

1
Cask
View file

@ -5,3 +5,4 @@
(depends-on "dockerfile-mode") (depends-on "dockerfile-mode")
(depends-on "htmlize") (depends-on "htmlize")
(depends-on "org-plus-contrib") (depends-on "org-plus-contrib")
(depends-on "rainbow-delimiters")

View file

@ -28,6 +28,9 @@
(require 'ox-rss) (require 'ox-rss)
(require 'subr-x) (require 'subr-x)
(require 'dockerfile-mode) (require 'dockerfile-mode)
(require 'rainbow-delimiters)
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
(defun publish-calculate-reading-time (buffer) (defun publish-calculate-reading-time (buffer)
"Calculate the amount of minutes it would take to read the contents of BUFFER." "Calculate the amount of minutes it would take to read the contents of BUFFER."