From 8216f2dc8323ed332212f712156e2ef576603116 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 19 Mar 2020 23:16:08 -0700 Subject: [PATCH] Add rainbow-delimiters to prog-mode --- Cask | 1 + publish.el | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cask b/Cask index 740b660..f9236c9 100644 --- a/Cask +++ b/Cask @@ -5,3 +5,4 @@ (depends-on "dockerfile-mode") (depends-on "htmlize") (depends-on "org-plus-contrib") +(depends-on "rainbow-delimiters") diff --git a/publish.el b/publish.el index 305e8c3..24e2bf3 100644 --- a/publish.el +++ b/publish.el @@ -28,6 +28,9 @@ (require 'ox-rss) (require 'subr-x) (require 'dockerfile-mode) +(require 'rainbow-delimiters) + +(add-hook 'prog-mode-hook 'rainbow-delimiters-mode) (defun publish-calculate-reading-time (buffer) "Calculate the amount of minutes it would take to read the contents of BUFFER."