Skip to content

Commit

Permalink
feat(vscode): use default options NO_ERROR_HALT, HEADER_GUARD for lan…
Browse files Browse the repository at this point in the history
…guage server compiles
  • Loading branch information
EmilyV99 authored and connorjclark committed Aug 6, 2023
1 parent d5d3c1d commit a5a6483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode-extension/server/src/server.ts
Expand Up @@ -155,7 +155,7 @@ async function processScript(textDocument: TextDocument): Promise<void> {
const settings = await getDocumentSettings(textDocument.uri);
// The validator creates diagnostics for all uppercase words length 2 and more
const text = textDocument.getText();
let includeText = "";
let includeText = "#option NO_ERROR_HALT on\n#option HEADER_GUARD on\n";

if (!settings.installationFolder) {
connection.sendDiagnostics({ uri: textDocument.uri, diagnostics: [{
Expand Down

0 comments on commit a5a6483

Please sign in to comment.