diff options
author | pommicket <pommicket@gmail.com> | 2023-10-19 11:44:10 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-10-19 11:44:10 -0400 |
commit | 04e38794a7ec6c74da8ac6cc60ea45c310715ebb (patch) | |
tree | 6059c7cc045a5978a29e3da0ac627a04472e99d9 | |
parent | 58ec097fc9fe0989baebe52e4b899878df4128f2 (diff) |
fix little default_settings issue
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |