fix(emacs/lean-syntax): highlight axioms

fix #382
This commit is contained in:
Soonho Kong 2014-12-30 14:24:22 -05:00
parent 0aa7e4a9f9
commit f370871574

View file

@ -106,7 +106,7 @@
(,(rx symbol-start (or "λ" "" "" "" ":=") symbol-end) . 'font-lock-constant-face )
;; universe/inductive/theorem... "names"
(,(rx word-start
(group (or "inductive" "structure" "record" "theorem" "axiom" "lemma" "hypothesis" "definition" "constant"))
(group (or "inductive" "structure" "record" "theorem" "axiom" "axioms" "lemma" "hypothesis" "definition" "constant"))
word-end
(zero-or-more (or whitespace "(" "{" "["))
(group (zero-or-more (not (any " \t\n\r{([")))))