fix(emacs/lean-syntax): glitch on syntax highlight
This commit is contained in:
parent
1cc8007b9a
commit
6a40f80612
1 changed files with 2 additions and 3 deletions
|
@ -104,11 +104,10 @@
|
|||
(,(rx (or "λ" "→" "∃" "∀" ":=")) . 'font-lock-constant-face )
|
||||
;; universe/inductive/theorem... "names"
|
||||
(,(rx word-start
|
||||
(group (or "universe" "inductive" "theorem" "axiom" "lemma" "hypothesis"
|
||||
"definition" "variable" "constant" "parameter"))
|
||||
(group (or "inductive" "theorem" "axiom" "lemma" "hypothesis" "definition" "constant"))
|
||||
word-end
|
||||
(zero-or-more (or whitespace "(" "{" "["))
|
||||
(group (zero-or-more (not whitespace))))
|
||||
(group (zero-or-more (not (any " \t\n\r")))))
|
||||
(2 'font-lock-function-name-face))
|
||||
("\\(set_option\\)[ \t]*\\([^ \t\n]*\\)" (2 'font-lock-constant-face))
|
||||
;; place holder
|
||||
|
|
Loading…
Reference in a new issue