comparison shared/sgml-font-lock-keywords.el @ 0:107d592c5f4a

DICE versions, used by pers/common, recursive, I think/hope
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 08 Feb 2021 11:44:37 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:107d592c5f4a
1 (defvar sgml-font-lock-keywords
2 '(;; highlight defining forms.
3 ("^<!\\([^- \t\n]+\\)[ \t\n]\\s-*\\(% \\)?\\(\\S-+\\)"
4 (1 font-lock-keyword-face) (3 font-lock-function-name-face))
5 ("</?\\([-a-z0-9.A-Z]+\\)" 1 font-lock-function-name-face t) ; allow overlap to speed up
6 ("\\(/\\)>" 1 font-lock-function-name-face)
7 ("[%&][^ \t\n;]+" . font-lock-string-face)
8 ("--[^-]+\\(-[^-]+\\)*--" . font-lock-comment-face)
9 ("^<[?].*>" . font-lock-string-face)
10 )
11 )