From ffa44cb22982586d660d866cc3c2c35e0cccd368 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 4 Feb 2020 21:19:17 +0000 Subject: add OpenSCAD highlighting --- index.js | 3 +++ package-lock.json | 4 ++++ package.json | 1 + 3 files changed, 8 insertions(+) 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" -- cgit v1.2.3