[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Geiser-users] [PATCH] Highlight `when'
From: |
Diogo F. S. Ramos |
Subject: |
[Geiser-users] [PATCH] Highlight `when' |
Date: |
Fri, 7 Mar 2014 02:09:12 -0300 |
Highlight `when' like `if'.
---
elisp/geiser-syntax.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 9aa02fc..b32c0c7 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -57,7 +57,8 @@
(,(rx "(" (group "define-syntax-rule") eow (* space)
(? "(") (? (group (1+ word))))
(1 font-lock-keyword-face)
- (2 font-lock-function-name-face))))
+ (2 font-lock-function-name-face))
+ (,(rx "(" (group "when") eow) . 1)))
(font-lock-add-keywords 'scheme-mode geiser-syntax--keywords)
--
1.9.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Geiser-users] [PATCH] Highlight `when',
Diogo F. S. Ramos <=