summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2018-02-21 20:37:53 +0000
committerdakkar <dakkar@thenautilus.net>2018-02-21 20:37:53 +0000
commitd641411b3a228fa27a04c55c35dc530389c74909 (patch)
treedc28ad7d5dfb50b5d1a4e11800c1e4f14d2bdbbc /index.js
parentset filepath as well (diff)
downloadcolor-d641411b3a228fa27a04c55c35dc530389c74909.tar.gz
color-d641411b3a228fa27a04c55c35dc530389c74909.tar.bz2
color-d641411b3a228fa27a04c55c35dc530389c74909.zip
add elisp
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.js b/index.js
index b6074d3..d9efb54 100644
--- a/index.js
+++ b/index.js
@@ -5,6 +5,9 @@ const highlighter = new Highlights();
highlighter.requireGrammarsSync({
"modulePath": require.resolve('language-perl6/package.json'),
});
+highlighter.requireGrammarsSync({
+ "modulePath": require.resolve('language-emacs-lisp/package.json'),
+});
const server = http.createServer((req, res) => {
const filename = req.headers['filename'];