summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-02 21:47:44 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-02 21:47:44 +0100
commita00ead2a1f79acbabaf504770a8e1d7491c29f57 (patch)
tree4f20464d02c12a56db0341a0a2f0199480676da1 /editor/editor_settings.cpp
parent536cf9a527c8d90110853c879f35d402b6afb265 (diff)
Enable the script editor line length guideline by default
Now that the GDScript style guide has an official recommendation, it makes sense to enable the line length guideline by default.
Diffstat (limited to 'editor/editor_settings.cpp')
-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 3426e58543..92e3f61ca5 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -456,7 +456,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("text_editor/appearance/show_info_gutter", true);
_initial_set("text_editor/appearance/code_folding", true);
_initial_set("text_editor/appearance/word_wrap", false);
- _initial_set("text_editor/appearance/show_line_length_guideline", false);
+ _initial_set("text_editor/appearance/show_line_length_guideline", true);
_initial_set("text_editor/appearance/line_length_guideline_column", 80);
hints["text_editor/appearance/line_length_guideline_column"] = PropertyInfo(Variant::INT, "text_editor/appearance/line_length_guideline_column", PROPERTY_HINT_RANGE, "20, 160, 1");