Add rainbow-delimiters to prog-mode
This commit is contained in:
parent
099356512e
commit
8216f2dc83
2 changed files with 4 additions and 0 deletions
1
Cask
1
Cask
|
@ -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")
|
||||||
|
|
|
@ -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."
|
||||||
|
|
Loading…
Reference in a new issue