fix(src/emacs/lean-syntax.el): highlight identifiers after 'proposition' and 'corollary'

This commit is contained in:
Jeremy Avigad 2015-09-02 21:07:24 -04:00 committed by Leonardo de Moura
parent 2ab7928257
commit 7c966e3d02

View file

@ -137,7 +137,7 @@
(,lean-constants-regexp . 'font-lock-constant-face)
;; universe/inductive/theorem... "names"
(,(rx word-start
(group (or "inductive" "structure" "record" "theorem" "axiom" "axioms" "lemma" "hypothesis" "definition" "constant" "abbreviation"))
(group (or "inductive" "structure" "record" "theorem" "axiom" "axioms" "lemma" "proposition" "corollary" "hypothesis" "definition" "constant" "abbreviation"))
word-end
(zero-or-more (or whitespace "(" "{" "["))
(group (zero-or-more (not (any " \t\n\r{([")))))