global-hl-todo-mode prevents activation in org
global-hl-todo-mode uses function to activate only for modes that are in the
activate list but are not org-mode.
Reference: 24b9925b1b/hl-todo.el (L185-L188)
Adds a comment re `hl-todo-activate-in-modes` var
This commit is contained in:
parent
9044aedf01
commit
89aae06f86
|
@ -957,6 +957,7 @@ Other:
|
|||
- Fix doom-modeline in the messages buffer (thanks to duianto)
|
||||
- Fix void function error when recentf-save-list is undefined
|
||||
(thanks to Compro-Prasad)
|
||||
- =global-hl-todo-mode= prevents activation in org (thanks to Sam Pillsworth)
|
||||
*** Layer changes and fixes
|
||||
**** Ansible
|
||||
- Improvements:
|
||||
|
|
|
@ -53,8 +53,10 @@
|
|||
(defun spacemacs-visual/init-hl-todo ()
|
||||
(use-package hl-todo
|
||||
:defer t
|
||||
:init (spacemacs/add-to-hooks 'hl-todo-mode '(text-mode-hook
|
||||
prog-mode-hook))))
|
||||
:init
|
||||
;; global hook activates hl-todo-mode for prog-mode, text-mode
|
||||
;; mode can be explicitly defined using hl-todo-activate-in-modes variable
|
||||
(global-hl-todo-mode 1)))
|
||||
|
||||
(defun spacemacs-visual/init-popup ())
|
||||
|
||||
|
|
Loading…
Reference in a new issue