summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 10:36:53 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 10:36:53 -0400
commit6ea5c07b116b98ebc836a10f88cf908d14c9b6c5 (patch)
treeb9ae3cf7aca9cde2cc69bdc194fa5513664625bb /buffer.c
parent9842cb988343d255db17ed57d486ecc41fc0618e (diff)
new config system seems to be working
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/buffer.c b/buffer.c
index 039528e..6766a5a 100644
--- a/buffer.c
+++ b/buffer.c
@@ -534,6 +534,10 @@ Settings *buffer_settings(TextBuffer *buffer) {
return &buffer->settings;
}
+void buffer_recompute_settings(TextBuffer *buffer) {
+ buffer->settings_computed = false;
+}
+
u8 buffer_tab_width(TextBuffer *buffer) {
return buffer_settings(buffer)->tab_width;
}