fix(emacs/lean-syntax.el): update lean-info syntax highlight

close #748
This commit is contained in:
Soonho Kong 2015-07-28 11:51:01 -07:00
parent 72f0fc29fd
commit f71987612f

View file

@ -160,7 +160,7 @@
(defconst lean-info-font-lock-defaults
(let ((new-entries
`(;; Please add more after this:
(,(rx word-start (group (+ wordchar)) word-end (+ white) ":")
(,(rx (group (+ symbol-start (+ (or word (char ?₁ ?₂ ?₃ ?₄ ?₅ ?₆ ?₇ ?₈ ?₉ ?₀))) symbol-end (* white))) ":")
(1 'font-lock-variable-name-face))
(,(rx white ":" white)
. 'font-lock-keyword-face)