summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-02-04 21:19:17 +0000
committerdakkar <dakkar@thenautilus.net>2020-02-04 21:19:17 +0000
commitffa44cb22982586d660d866cc3c2c35e0cccd368 (patch)
treea0dae64218e0f70a761db3a7cae17e5000cef5e1 /index.js
parentupdated deps (diff)
downloadcolor-ffa44cb22982586d660d866cc3c2c35e0cccd368.tar.gz
color-ffa44cb22982586d660d866cc3c2c35e0cccd368.tar.bz2
color-ffa44cb22982586d660d866cc3c2c35e0cccd368.zip
add OpenSCAD highlighting
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 268753d..e8e5463 100644
--- a/index.js
+++ b/index.js
@@ -8,6 +8,9 @@ highlighter.requireGrammarsSync({
highlighter.requireGrammarsSync({
"modulePath": require.resolve('language-emacs-lisp/package.json'),
});
+highlighter.requireGrammarsSync({
+ "modulePath": require.resolve('language-openscad/package.json'),
+});
const Selector = require('first-mate-select-grammar');
const selector = Selector();