fix(emacs/lean-syntax): syntax highlight for declarations with explicit universes

This commit is contained in:
Leonardo de Moura 2014-10-13 06:52:36 -07:00
parent 5c1d5133dd
commit ab90a350b3

View file

@ -107,7 +107,7 @@
(group (or "inductive" "theorem" "axiom" "lemma" "hypothesis" "definition" "constant"))
word-end
(zero-or-more (or whitespace "(" "{" "["))
(group (zero-or-more (not (any " \t\n\r")))))
(group (zero-or-more (not (any " \t\n\r\.")))))
(2 'font-lock-function-name-face))
("\\(set_option\\)[ \t]*\\([^ \t\n]*\\)" (2 'font-lock-constant-face))
;; place holder