Skip to content

Commit ca4e4b3

Browse files
committed
Fix the language for JavaScript extractor
1 parent 53c868f commit ca4e4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jupyterlab-lsp/src/extractors/defaults.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export let foreign_code_extractors: IForeignCodeExtractorsRegistry = {
9494
// IPython magics producing continuous documents (non-standalone):
9595
//
9696
new RegExpForeignCodeExtractor({
97-
language: 'js',
97+
language: 'javascript',
9898
pattern: '^%%(js|javascript)( .*?)?\n([^]*)',
9999
extract_to_foreign: '$3',
100100
is_standalone: false,

0 commit comments

Comments
 (0)