Skip to content

Commit

Permalink
Fix other grammar paths
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jan 18, 2024
1 parent 13c5c07 commit 4a8df88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/scope-resolver-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const jsGrammarPath = resolve(
let jsConfig = CSON.readFileSync(jsGrammarPath);

const jsRegexGrammarPath = resolve(
'language-javascript/grammars/tree-sitter-2-regex.cson'
'language-javascript/grammars/modern-tree-sitter-regex.cson'
);
let jsRegexConfig = CSON.readFileSync(jsRegexGrammarPath);

Expand Down
4 changes: 2 additions & 2 deletions spec/wasm-tree-sitter-language-mode-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ const jsGrammarPath = resolve(
);

const jsRegexGrammarPath = resolve(
'language-javascript/grammars/tree-sitter-2-regex.cson'
'language-javascript/grammars/modern-tree-sitter-regex.cson'
);

const jsdocGrammarPath = resolve(
'language-javascript/grammars/tree-sitter-2-jsdoc.cson'
'language-javascript/grammars/modern-tree-sitter-jsdoc.cson'
);
const htmlGrammarPath = resolve(
'language-html/grammars/modern-tree-sitter-html.cson'
Expand Down

0 comments on commit 4a8df88

Please sign in to comment.