summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
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;
}