summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-19 11:44:10 -0400
committerpommicket <pommicket@gmail.com>2023-10-19 11:44:10 -0400
commit04e38794a7ec6c74da8ac6cc60ea45c310715ebb (patch)
tree6059c7cc045a5978a29e3da0ac627a04472e99d9
parent58ec097fc9fe0989baebe52e4b899878df4128f2 (diff)
fix little default_settings issue
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 7f9a4a3..d18cc92 100644
--- a/config.c
+++ b/config.c
@@ -1560,8 +1560,8 @@ void config_read(Ted *ted, const char *path, ConfigFormat format) {
break;
case CONFIG_TED_CFG:
config_read_ted_cfg(ted, source_rc, &include_stack);
- // recompute default settings
- ted_compute_settings(ted, "", LANG_NONE, &ted->default_settings);
+ // force recompute default settings
+ strcpy(ted->default_settings_cwd, "//");
break;
case CONFIG_EDITORCONFIG:
config_read_editorconfig(ted, source_rc);