Skip to content

Commit d927d3f

Browse files
fix: incorrect name for language content defaults (#5569)
1 parent 3886d9a commit d927d3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/customization/plug-points/editor-monaco-language-apidom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ By default, this configuration looks like this:
1111
completionProviders: [],
1212
performanceLogs: false,
1313
logLevel: apidomLS.LogLevel.WARN,
14-
defaultLanguageContent: {
14+
defaultContentLanguage: {
1515
namespace: 'asyncapi',
1616
},
1717
completionContext: {

src/plugins/editor-monaco-language-apidom/language/ApiDOMWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class ApiDOMWorker {
1111
completionProviders: [],
1212
performanceLogs: false,
1313
logLevel: apidomLS.LogLevel.WARN,
14-
defaultLanguageContent: {
14+
defaultContentLanguage: {
1515
namespace: 'asyncapi',
1616
},
1717
completionContext: {

0 commit comments

Comments
 (0)