fix(emacs/lean-syntax): syntax highlight for composite names in declarations

This commit is contained in:
Leonardo de Moura 2014-10-26 09:27:17 -07:00
parent aafdbf57f0
commit 50948be66b

View file

@ -107,7 +107,7 @@
(group (or "inductive" "theorem" "axiom" "lemma" "hypothesis" "definition" "constant"))
word-end
(zero-or-more (or whitespace "(" "{" "["))
(group (zero-or-more (not (any " \t\n\r\.")))))
(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