diff --git a/src/emacs/lean-syntax.el b/src/emacs/lean-syntax.el index 7c9e265f7..b82ce215a 100644 --- a/src/emacs/lean-syntax.el +++ b/src/emacs/lean-syntax.el @@ -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{([")))))