Skip to content

Commit 77a30e4

Browse files
committed
Force diagnostic pull in all cases
1 parent fd86f31 commit 77a30e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

editors/code/src/extension.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@ export async function activate(context: vscode.ExtensionContext) {
216216
{ scheme: "file", language: "lua" },
217217
{ scheme: "file", language: "luau" },
218218
],
219-
diagnosticCollectionName: "luau",
219+
diagnosticPullOptions: {
220+
onChange: true,
221+
onSave: true,
222+
},
220223
};
221224

222225
client = new LanguageClient("luau", "Luau LSP", serverOptions, clientOptions);

0 commit comments

Comments
 (0)