Skip to content

Commit

Permalink
fix: disabling indentation rules not working
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Mar 4, 2024
1 parent a2d7621 commit 4ad65f8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ void save() throws BackingStoreException {
final var definitions = new ArrayList<ILanguageConfigurationDefinition>();
userDefinitions.values().forEach(definitions::add);
pluginDefinitions.values().forEach(def -> {
if (!(def.isBracketAutoClosingEnabled() && def.isMatchingPairsEnabled() && def.isOnEnterEnabled())) {
if (!(def.isBracketAutoClosingEnabled()
&& def.isMatchingPairsEnabled()
&& def.isOnEnterEnabled()
&& def.isIndentRulesEnabled())) {
definitions.add(def);
}
});
Expand Down

0 comments on commit 4ad65f8

Please sign in to comment.