fix(emacs/lean-syntax): weird syntax-hightlight problem"

This commit is contained in:
Leonardo de Moura 2014-09-06 10:49:16 -07:00
parent 6b5831d894
commit d6491399b9

View file

@ -66,15 +66,6 @@
(zero-or-more (or whitespace "(" "{" "["))
(group (zero-or-more (not whitespace))))
(2 'font-lock-function-name-face))
;; namespace/section "name"
(,(rx symbol-start
(group (or "namespace" "section" "end"))
symbol-end
(zero-or-more whitespace)
(group (zero-or-more (not whitespace)))
(zero-or-more whitespace)
line-end)
(2 'font-lock-function-name-face))
("\\(set_option\\)[ \t]*\\([^ \t\n]*\\)" (2 'font-lock-constant-face))
;; place holder
(,(rx symbol-start "_" symbol-end) . 'font-lock-preprocessor-face)