Fix indent on save bug

This commit is contained in:
Allen Webster 2020-01-09 18:12:20 -08:00
parent 76735e6f01
commit d143a0e6d5
1 changed files with 1 additions and 1 deletions

View File

@ -970,7 +970,7 @@ BUFFER_HOOK_SIG(default_new_file){
BUFFER_HOOK_SIG(default_file_save){
// buffer_id
ProfileScope(app, "default file save");
b32 is_virtual = false;
b32 is_virtual = global_config.enable_virtual_whitespace;
if (global_config.automatically_indent_text_on_save && is_virtual){
auto_indent_buffer(app, buffer_id, buffer_range(app, buffer_id));
}