Skip to content

Commit

Permalink
Enable hl-todo in text-mode derived buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
StreakyCobra authored and syl20bnr committed Jan 11, 2016
1 parent db7b848 commit 1fe61f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layers/+distribution/spacemacs-base/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,10 @@ ARG non nil means that the editing style is `vim'."
(defun spacemacs-base/init-hl-todo ()
(use-package hl-todo
:defer t
:init (add-hook 'prog-mode-hook 'hl-todo-mode)))
:init
(progn
(add-hook 'text-mode-hook 'hl-todo-mode)
(add-hook 'prog-mode-hook 'hl-todo-mode))))

(defun spacemacs-base/init-hs-minor-mode ()
;; required for evil folding
Expand Down

0 comments on commit 1fe61f4

Please sign in to comment.