feat(emacs/lean-syntax): add syntax-highlight for unfold-c hint attribute

This commit is contained in:
Leonardo de Moura 2015-02-06 12:57:11 -08:00
parent bc95f09828
commit 979d6494e9

View file

@ -121,6 +121,7 @@
"\[decls\]" "\[strict\]" "\[coercions\]" "\[classes\]" "\[notations\]" "\[tactic_hints\]" "\[reduce_hints\]"))
. 'font-lock-doc-face)
(,(rx "\[priority" (zero-or-more (not (any "\]"))) "\]") . font-lock-doc-face)
(,(rx "\[unfold-c" (zero-or-more (not (any "\]"))) "\]") . font-lock-doc-face)
;; tactics
("cases[ \t\n]+[^ \t\n]+[ \t\n]+\\(with\\)" (1 'font-lock-constant-face))
(,(rx (not (any "\.")) word-start