summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-02-13 09:58:16 -0500
committerpommicket <pommicket@gmail.com>2024-02-13 09:58:16 -0500
commit176f0b1f52676bbcf61e5098e5cec400d52fc306 (patch)
tree7ab4e0bd76745ed2d84050d414637e1b72d41cb5 /config.c
parent6d85a7e605011d16018fdf202e40e59e2f916b63 (diff)
auto-detect indentation
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.c b/config.c
index 4eb536a..7bdcc7c 100644
--- a/config.c
+++ b/config.c
@@ -95,6 +95,7 @@ static const SettingBool settings_bool[] = {
{"auto-reload", &settings_zero.auto_reload, true},
{"auto-reload-config", &settings_zero.auto_reload_config, false},
{"syntax-highlighting", &settings_zero.syntax_highlighting, true},
+ {"autodetect-indentation", &settings_zero.autodetect_indentation, true},
{"line-numbers", &settings_zero.line_numbers, true},
{"restore-session", &settings_zero.restore_session, false},
{"regenerate-tags-if-not-found", &settings_zero.regenerate_tags_if_not_found, true},
@@ -115,7 +116,7 @@ static const SettingBool settings_bool[] = {
#define SETTING_CRLF {"crlf", &settings_zero.crlf, true}
SETTING_CRLF,
#define SETTING_CRLF_WINDOWS {"crlf-windows", &settings_zero.crlf_windows, true}
- {"crlf-windows", &settings_zero.crlf_windows, true},
+ SETTING_CRLF_WINDOWS,
{"jump-to-build-error", &settings_zero.jump_to_build_error, true},
{"force-monospace", &settings_zero.force_monospace, true},
{"show-diagnostics", &settings_zero.show_diagnostics, true},