feat(cmdwin): allow tabpage actions

This commit is contained in:
Justin M. Keyes
2026-06-29 22:10:53 +02:00
parent 5256685661
commit 2a4bb3eb37
4 changed files with 17 additions and 29 deletions

View File

@@ -4469,10 +4469,6 @@ tabpage_T *win_new_tabpage(int after, char *filename, bool enter, win_T **first)
{
tabpage_T *old_curtab = curtab;
if (enter && cmdwin_buf != NULL) {
emsg(_(e_cmdwin));
return NULL;
}
if (window_layout_locked(CMD_tabnew)) {
return NULL;
}