branch: master
commit 79f3656b3e9b115de7429d8e47f29049cfdd1609
Author: Noam Postavsky <[email protected]>
Commit: Noam Postavsky <[email protected]>
fix font-lock-keywords syntax
The syntax is (MATCHER . FACENAME) (note the dot).
---
yasnippet.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index f1bba52..0102a64 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -823,8 +823,8 @@ Honour `yas-dont-activate', which see."
("${\\([0-9]+\\):?"
(0 font-lock-keyword-face)
(1 font-lock-warning-face t))
- ("${" font-lock-keyword-face)
- ("$[0-9]+?" font-lock-preprocessor-face)
+ ("${" . font-lock-keyword-face)
+ ("$[0-9]+?" . font-lock-preprocessor-face)
("\\(\\$(\\)" 1 font-lock-preprocessor-face)
("}"
(0 font-lock-keyword-face)))))