summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobKohr <spam@robkohr.com>2019-10-14 15:35:17 -0400
committerGitHub <noreply@github.com>2019-10-14 15:35:17 -0400
commit1c08d98ec887015f99e5139ee3687af78bbdd122 (patch)
tree8d5cfadab4d3afcc4cd85272af3c74fddf76aa7a
parent1fed266bf5452b30376db62495f4985f6975f2c1 (diff)
set convert_indent_on_save to true
https://github.com/godotengine/godot/issues/30324
-rw-r--r--editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index 3ea59115b0..34fdc527ba 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -436,7 +436,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("text_editor/indent/size", 4);
hints["text_editor/indent/size"] = PropertyInfo(Variant::INT, "text_editor/indent/size", PROPERTY_HINT_RANGE, "1, 64, 1"); // size of 0 crashes.
_initial_set("text_editor/indent/auto_indent", true);
- _initial_set("text_editor/indent/convert_indent_on_save", false);
+ _initial_set("text_editor/indent/convert_indent_on_save", true);
_initial_set("text_editor/indent/draw_tabs", true);
_initial_set("text_editor/indent/draw_spaces", false);