Problem: tab line is not updated when the value of 'bt' is changed.
To reproduce:
$ vim -c 'split | wincmd T | normal o'
By hand perform:
:set bt=nofile
Observe that the window's title in the status line reflects the change
- "[Scratch]", but the tab line still shows '| + [No Name] | + [No Name] |'.
:redraw!
Only now the tab line shows '| [Scratch] | [Scratch] |'.
The attached patch fixes the problem.
--
Cheers,
Lech
--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
diff --git a/src/option.c b/src/option.c
index d680cfb..1aa3236 100644
--- a/src/option.c
+++ b/src/option.c
@@ -6410,6 +6410,7 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
}
# endif
curbuf->b_help = (curbuf->b_p_bt[0] == 'h');
+ redraw_titles();
}
}
#endif