code-lightner
Advanced tools
Comparing version 0.1.3 to 0.2.0
{ | ||
"name": "code-lightner", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "Use TextMate grammar and themes to highlights your code", | ||
@@ -5,0 +5,0 @@ "main": "release/Main.js", |
@@ -55,3 +55,3 @@ "use strict"; | ||
function resolve(path) { | ||
const segments = [__dirname, path]; | ||
const segments = [process.cwd(), path]; | ||
return path_1.resolve(...segments); | ||
@@ -175,2 +175,3 @@ } | ||
function lighten(config, code) { | ||
console.log(colors.grey("CWD: " + process.cwd())); | ||
return function (builder_) { | ||
@@ -177,0 +178,0 @@ return builder_.Delay(function () { |
@@ -21,9 +21,9 @@ const code = require('./../output/Main'); | ||
grammarFiles: [ | ||
"../tests/syntaxes/JavaScript.tmLanguage.json", | ||
"../tests/syntaxes/SQL.plist", | ||
"../tests/syntaxes/hello.json", | ||
"../tests/syntaxes/fsharp.json" | ||
"./syntaxes/JavaScript.tmLanguage.json", | ||
"./syntaxes/SQL.plist", | ||
"./syntaxes/hello.json", | ||
"./syntaxes/fsharp.json" | ||
], | ||
scopeName: "source.fsharp", | ||
themeFile: "../tests/themes/OneDark-Pro.json" | ||
themeFile: "./themes/OneDark-Pro.json" | ||
} | ||
@@ -30,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
454327
10075