summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-05 11:15:08 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-05 11:15:08 -0400
commite4d121f8272ad29d6f6fd0dda6f2dfa07fd08663 (patch)
tree33cbd330fd07fa42e26e2d69e9cce504c9a6f14c
parentda6ec95b5c7788f329474f7542cbcd84f9710150 (diff)
highlight: Add support for lisp highlighting.
-rw-r--r--highlight.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/highlight.scm b/highlight.scm
index 51f2b02..5244c6f 100644
--- a/highlight.scm
+++ b/highlight.scm
@@ -2,15 +2,17 @@
#:use-module (ice-9 match)
#:use-module (sxml match)
#:use-module (syntax-highlight)
+ #:use-module (syntax-highlight c)
+ #:use-module (syntax-highlight lisp)
#:use-module (syntax-highlight scheme)
#:use-module (syntax-highlight xml)
- #:use-module (syntax-highlight c)
#:export (highlight-code
highlight-scheme))
(define (maybe-highlight-code lang source)
(let ((lexer (match lang
('scheme lex-scheme)
+ ('lisp lex-lisp)
('xml lex-xml)
('c lex-c)
(_ #f))))