lang/org: fontify list items with completed cookies (e.g. [4/4])

This commit is contained in:
Henrik Lissner 2017-04-27 18:04:55 -04:00
parent 6dc0afe934
commit 79d6938723

View file

@ -192,7 +192,7 @@
1 'org-checkbox prepend))) 1 'org-checkbox prepend)))
(font-lock-add-keywords (font-lock-add-keywords
'org-mode '(;; ...and replace it with my own 'org-mode '(;; ...and replace it with my own
("^[ \t]*\\(?:[-+*]\\|[0-9]+[).]\\)[ \t]+\\(\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ \t]*\\)?\\[X\\][^\n]*\n\\)" ("^[ \t]*\\(?:[-+*]\\|[0-9]+[).]\\)[ \t]+\\(\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ \t]*\\)?\\[\\(?:X\\|\\([0-9]+\\)/\\2\\)\\][^\n]*\n\\)"
1 'org-headline-done t) 1 'org-headline-done t)
("^[ \t]*\\(?:[-+*]\\|[0-9]+[.)]\\)[ \t]+\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ \t]*\\)?\\(\\[[- ]\\]\\)" ("^[ \t]*\\(?:[-+*]\\|[0-9]+[.)]\\)[ \t]+\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ \t]*\\)?\\(\\[[- ]\\]\\)"
1 'org-checkbox append) 1 'org-checkbox append)