fix(emacs/lean-syntax): fixes #837
This commit is contained in:
parent
f01fd744cf
commit
7cb66cdfae
1 changed files with 1 additions and 1 deletions
|
@ -129,6 +129,7 @@
|
||||||
|
|
||||||
(defconst lean-font-lock-defaults
|
(defconst lean-font-lock-defaults
|
||||||
`((;; Keywords
|
`((;; Keywords
|
||||||
|
("\\(set_option\\)[ \t]*\\([^ \t\n]*\\)" (2 'font-lock-constant-face))
|
||||||
(,lean-keywords2-regexp . 'font-lock-keyword-face)
|
(,lean-keywords2-regexp . 'font-lock-keyword-face)
|
||||||
(,lean-keywords1-regexp . 'font-lock-keyword-face)
|
(,lean-keywords1-regexp . 'font-lock-keyword-face)
|
||||||
;; String
|
;; String
|
||||||
|
@ -142,7 +143,6 @@
|
||||||
(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{([")))))
|
||||||
(2 'font-lock-function-name-face))
|
(2 'font-lock-function-name-face))
|
||||||
("\\(set_option\\)[ \t]*\\([^ \t\n]*\\)" (2 'font-lock-constant-face))
|
|
||||||
;; place holder
|
;; place holder
|
||||||
(,(rx symbol-start "_" symbol-end) . 'font-lock-preprocessor-face)
|
(,(rx symbol-start "_" symbol-end) . 'font-lock-preprocessor-face)
|
||||||
;; modifiers
|
;; modifiers
|
||||||
|
|
Loading…
Add table
Reference in a new issue