fix(emacs/lean-syntax): fix Type1, Type2 highlight

This commit is contained in:
Soonho Kong 2014-10-29 14:28:01 -07:00
parent b0e249ce63
commit 12824c3e27

View file

@ -123,7 +123,7 @@
word-end)
. 'font-lock-constant-face)
;; Types
(,(rx word-start (or "Prop" "Type" "Type'" "Type₊" "Type₁" "Type₂" "Type₃") word-end) . 'font-lock-type-face)
(,(rx symbol-start (or "Prop" "Type" "Type'" "Type₊" "Type₁" "Type₂" "Type₃") symbol-end) . 'font-lock-type-face)
;; sorry
(,(rx word-start "sorry" word-end) . 'font-lock-warning-face)
;; extra-keywords