summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-07-29 16:05:56 -0400
committerpommicket <pommicket@gmail.com>2022-07-29 16:05:56 -0400
commit12cc45bfcaa4c866f4509b6324a424048f3ddd29 (patch)
tree0df68f4d3d51f5468b3b1681b803e3a0c7f7d95d /buffer.c
parentd9edd1f62fa620d3a8a42c80aec330065b794e14 (diff)
fix reloading with text-size
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 65a90ab..4ee4fbd 100644
--- a/buffer.c
+++ b/buffer.c
@@ -2182,7 +2182,7 @@ bool buffer_save(TextBuffer *buffer) {
buffer->undo_history_write_pos = arr_len(buffer->undo_history);
char const *name = buffer->filename ? path_filename(buffer->filename) : TED_UNTITLED;
if (streq(name, "ted.cfg") && buffer_settings(buffer)->auto_reload_config) {
- ted_load_configs(buffer->ted);
+ ted_load_configs(buffer->ted, true);
}
}
return success;