fix(emacs/lean-syntax.el): update lean-info syntax highlight
close #748
This commit is contained in:
parent
72f0fc29fd
commit
f71987612f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue