Skip to content

Highlight all line after TODO #69

Answered by tarsius
efeyitim asked this question in Q&A
Discussion options

You must be logged in to vote

You can apply this patch:

diff --git a/hl-todo.el b/hl-todo.el
index e03e9d0..4ec7ebb 100644
--- a/hl-todo.el
+++ b/hl-todo.el
@@ -210,16 +210,13 @@ (defun hl-todo--setup-regexp ()
         (concat "\\(\\<"
                 "\\(" (mapconcat #'car hl-todo-keyword-faces "\\|") "\\)"
                 "\\>"
-                (and (not (equal hl-todo-highlight-punctuation ""))
-                     (concat "[" hl-todo-highlight-punctuation "]"
-                             (if hl-todo-require-punctuation "+" "*")))
-                "\\)")))
+                "[^\"\n]*\\)")))
 
 (defun hl-todo--setup ()
   (hl-todo--setup-regexp)
   (setq hl-todo--keywords
         `((,(lambda (bound) (hl-todo--s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@efeyitim
Comment options

Answer selected by efeyitim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants