Skip to content

Commit fb0a527

Browse files
committed
take overall preference for spring xml support into account for spel syntax validation for xml files
1 parent c04aade commit fb0a527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/xml/SpringXMLLanguageServerComponents.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public SpringXMLLanguageServerComponents(
6363
this.reconcileEngine = new SpringXMLReconcileEngine(projectFinder);
6464

6565
config.addListener(ignore -> {
66-
reconcileEngine.setSpelExpressionSyntaxValidationEnabled(config.isSpelExpressionValidationEnabled());
66+
reconcileEngine.setSpelExpressionSyntaxValidationEnabled(config.isSpelExpressionValidationEnabled() && config.isSpringXMLSupportEnabled());
6767
});
6868

6969
}

0 commit comments

Comments
 (0)