summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--elisp/geiser-racket.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0605af8..f282c76 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@
geiser-eval-buffer-and-go (C-c M-b), by Nick Parker.
- Pressing return on a previous expression in the REPL will resend
it, by Darren Hoo.
+ - Improvements to syntax highlighting (define/match in racket).
Bug fixes:
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index b372eb5..1c42e29 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -256,7 +256,7 @@ using start-geiser, a procedure in the geiser/server module."
(setq geiser-racket-font-lock-forms
'(("^#lang\\>" . 0)
("\\[\\(else\\)\\>" . 1)
- ("(\\(define/match\\) +\\(\\w+\\)+\\b"
+ ("(\\(define/match\\) +(?\\(\\w+\\)+\\b"
(1 font-lock-keyword-face)
(2 font-lock-function-name-face))))