From c40f87f128c4ce8790fd40599bab34f7c0b69d36 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 5 May 2021 16:55:34 -0400 Subject: [PATCH] Fix ability to disable "no grammar" message Fixes redhat-developervscode-xml#467 Signed-off-by: David Thompson --- .../extensions/contentmodel/settings/XMLValidationSettings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/extensions/contentmodel/settings/XMLValidationSettings.java b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/extensions/contentmodel/settings/XMLValidationSettings.java index b81692bd29..330e361bee 100644 --- a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/extensions/contentmodel/settings/XMLValidationSettings.java +++ b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/extensions/contentmodel/settings/XMLValidationSettings.java @@ -182,6 +182,7 @@ public XMLValidationSettings merge(XMLValidationSettings settings) { this.namespaces = settings.namespaces; this.schema = settings.schema; this.enabled = settings.enabled; + this.noGrammar = settings.noGrammar; this.disallowDocTypeDecl = settings.disallowDocTypeDecl; this.resolveExternalEntities = settings.resolveExternalEntities; }