mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Merge pull request #409 from npostavs/font-lock
Fix yas--font-lock-keywords
This commit is contained in:
commit
3bb1515046
@ -814,8 +814,6 @@ Honour `yas-dont-activate', which see."
|
|||||||
|
|
||||||
(defvar yas--font-lock-keywords
|
(defvar yas--font-lock-keywords
|
||||||
(append '(("^#.*$" . font-lock-comment-face))
|
(append '(("^#.*$" . font-lock-comment-face))
|
||||||
lisp-font-lock-keywords
|
|
||||||
lisp-font-lock-keywords-1
|
|
||||||
lisp-font-lock-keywords-2
|
lisp-font-lock-keywords-2
|
||||||
'(("$\\([0-9]+\\)"
|
'(("$\\([0-9]+\\)"
|
||||||
(0 font-lock-keyword-face)
|
(0 font-lock-keyword-face)
|
||||||
@ -823,8 +821,8 @@ Honour `yas-dont-activate', which see."
|
|||||||
("${\\([0-9]+\\):?"
|
("${\\([0-9]+\\):?"
|
||||||
(0 font-lock-keyword-face)
|
(0 font-lock-keyword-face)
|
||||||
(1 font-lock-warning-face t))
|
(1 font-lock-warning-face t))
|
||||||
("${" font-lock-keyword-face)
|
("${" . font-lock-keyword-face)
|
||||||
("$[0-9]+?" font-lock-preprocessor-face)
|
("$[0-9]+?" . font-lock-preprocessor-face)
|
||||||
("\\(\\$(\\)" 1 font-lock-preprocessor-face)
|
("\\(\\$(\\)" 1 font-lock-preprocessor-face)
|
||||||
("}"
|
("}"
|
||||||
(0 font-lock-keyword-face)))))
|
(0 font-lock-keyword-face)))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user