Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Apr 26, 2024
1 parent 85c4bdb commit 008b732
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/parser/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ function _(token: TokenType | RegExp) {

export function generateTextMateGrammar() {
const grammar = JSON.stringify(language, null, 2);
writeFileSync(resolve("syntaxes", "q.tmLanguage.json"), grammar);
writeFileSync(
resolve(__dirname, "../".repeat(4), "syntaxes", "q.tmLanguage.json"),
grammar,
);
return grammar;
}

0 comments on commit 008b732

Please sign in to comment.