0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1418: win_execute() is not implemented yet

Problem:    Win_execute() is not implemented yet.
Solution:   Implement it.
This commit is contained in:
Bram Moolenaar
2019-05-29 21:44:40 +02:00
parent 1bbebab525
commit 868b7b6712
6 changed files with 86 additions and 15 deletions

View File

@@ -238,6 +238,7 @@ f_popup_create(typval_T *argvars, typval_T *rettv)
buf->b_p_ul = -1; // no undo
buf->b_p_swf = FALSE; // no swap file
buf->b_p_bl = FALSE; // unlisted buffer
buf->b_locked = TRUE;
win_init_popup_win(wp, buf);
@@ -376,6 +377,7 @@ f_popup_show(typval_T *argvars, typval_T *rettv UNUSED)
static void
popup_free(win_T *wp)
{
wp->w_buffer->b_locked = FALSE;
if (wp->w_winrow + wp->w_height >= cmdline_row)
clear_cmdline = TRUE;
win_free_popup(wp);