feat(lean-syntax): color abbreviations yellow
This commit is contained in:
parent
40d5f83851
commit
8396c4c824
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
(,(rx symbol-start (or "λ" "→" "∃" "∀" ":=") symbol-end) . 'font-lock-constant-face )
|
(,(rx symbol-start (or "λ" "→" "∃" "∀" ":=") symbol-end) . 'font-lock-constant-face )
|
||||||
;; universe/inductive/theorem... "names"
|
;; universe/inductive/theorem... "names"
|
||||||
(,(rx word-start
|
(,(rx word-start
|
||||||
(group (or "inductive" "structure" "record" "theorem" "axiom" "axioms" "lemma" "hypothesis" "definition" "constant"))
|
(group (or "inductive" "structure" "record" "theorem" "axiom" "axioms" "lemma" "hypothesis" "definition" "constant" "abbreviation"))
|
||||||
word-end
|
word-end
|
||||||
(zero-or-more (or whitespace "(" "{" "["))
|
(zero-or-more (or whitespace "(" "{" "["))
|
||||||
(group (zero-or-more (not (any " \t\n\r{([")))))
|
(group (zero-or-more (not (any " \t\n\r{([")))))
|
||||||
|
|
Loading…
Reference in a new issue