From 04e38794a7ec6c74da8ac6cc60ea45c310715ebb Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 19 Oct 2023 11:44:10 -0400 Subject: fix little default_settings issue --- config.c | 4 ++-- 1 file 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); -- cgit v1.2.3