fix(emacs/lean-syntax): bug in syntax highlight, examples do not have names
This commit is contained in:
parent
186d910d0b
commit
101e9966fd
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@
|
|||
(,(rx (or "λ" "→" "∃" "∀" ":=")) . 'font-lock-constant-face )
|
||||
;; universe/inductive/theorem... "names"
|
||||
(,(rx word-start
|
||||
(group (or "inductive" "theorem" "example" "axiom" "lemma" "hypothesis" "definition" "constant"))
|
||||
(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")))))
|
||||
|
|
Loading…
Reference in a new issue