From 6d21896cd509581c6eb498f18fdd3fdcd278a934 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 9 Aug 2016 18:49:26 -0700 Subject: [PATCH] chore(emacs/lean-syntax): highlight mutual_definition and mutual_inductive --- src/emacs/lean-syntax.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emacs/lean-syntax.el b/src/emacs/lean-syntax.el index 5e416c3b29..e9e6fac814 100644 --- a/src/emacs/lean-syntax.el +++ b/src/emacs/lean-syntax.el @@ -20,7 +20,8 @@ "attribute" "local" "set_option" "extends" "include" "omit" "classes" "instances" "coercions" "metaclasses" "raw" "migrate" "replacing" "calc" "have" "show" "suffices" "by" "in" "at" "do" "let" "forall" "Pi" "fun" - "exists" "if" "dif" "then" "else" "assume" "take" "obtain" "from" "aliases" "register_simp_ext") + "exists" "if" "dif" "then" "else" "assume" "take" "obtain" "from" "aliases" "register_simp_ext" + "mutual_definition" "mutual_inductive") "lean keywords ending with 'word' (not symbol)") (defconst lean-keywords1-regexp (eval `(rx word-start (or ,@lean-keywords1) word-end)))