summaryrefslogtreecommitdiff
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
parentupdated deps (diff)
downloadcolor-ffa44cb22982586d660d866cc3c2c35e0cccd368.tar.gz
color-ffa44cb22982586d660d866cc3c2c35e0cccd368.tar.bz2
color-ffa44cb22982586d660d866cc3c2c35e0cccd368.zip
add OpenSCAD highlighting
-rw-r--r--index.js3
-rw-r--r--package-lock.json4
-rw-r--r--package.json1
3 files changed, 8 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();
diff --git a/package-lock.json b/package-lock.json
index a35c8c3..36b3cd2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1848,6 +1848,10 @@
"version": "github:Alhadis/language-emacs-lisp#b18cf7c44b1545dc1250c904e5f468eb0ef85c89",
"from": "github:Alhadis/language-emacs-lisp"
},
+ "language-openscad": {
+ "version": "git+https://github.com/rubyist/language-openscad.git#e8873181b4f1e84af65193680b98dd87a42d04a6",
+ "from": "git+https://github.com/rubyist/language-openscad.git"
+ },
"language-perl6": {
"version": "github:perl6/atom-language-perl6#9e7bab4157d2a4b16eecb1d2a5ae000cca0b27a9",
"from": "github:perl6/atom-language-perl6"
diff --git a/package.json b/package.json
index 5297d5e..25e5e3a 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"dependencies": {
"highlights": "^3.1.1",
"language-emacs-lisp": "github:Alhadis/language-emacs-lisp",
+ "language-openscad": "git+https://github.com/rubyist/language-openscad.git",
"language-perl6": "github:perl6/atom-language-perl6",
"less": "^3.0.1",
"pm2": "^2.10.1"