diff --git a/simple-comment-markup.el b/simple-comment-markup.el index b331fce..9f51da0 100644 --- a/simple-comment-markup.el +++ b/simple-comment-markup.el @@ -40,6 +40,8 @@ (:start "`" :end "`" :face font-lock-doc-markup-face)) (markdown-code (:start "`" :end "`" :face font-lock-doc-markup-face)) + (url + (:start "<" :body "https?:[^>\n]*[^ >\n]" :end ">" :face link)) (latex (:start "\\(" :end "\\)" :face font-lock-string-face)) (tex @@ -55,7 +57,7 @@ (const :function)) :value-type sexp))) -(defcustom simple-comment-markup-set 'org +(defcustom simple-comment-markup-set '(org url) "docstring" :type '(choice symbol (repeat symbol)))