We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01865ad commit 6d585f4Copy full SHA for 6d585f4
3 files changed
src/popupwin.c
@@ -740,8 +740,6 @@ apply_general_options(win_T *wp, dict_T *dict)
740
set_string_option_direct_in_win(wp, (char_u *)"wincolor", -1,
741
str, OPT_FREE|OPT_LOCAL, 0);
742
743
- set_string_option_direct_in_win(wp, (char_u *)"signcolumn", -1,
744
- (char_u *)"no", OPT_FREE|OPT_LOCAL, 0);
745
set_padding_border(dict, wp->w_popup_padding, "padding", 999);
746
set_padding_border(dict, wp->w_popup_border, "border", 1);
747
@@ -946,6 +944,10 @@ apply_options(win_T *wp, dict_T *dict)
946
944
int nr;
947
945
948
apply_move_options(wp, dict);
+
+ set_string_option_direct_in_win(wp, (char_u *)"signcolumn", -1,
949
+ (char_u *)"no", OPT_FREE|OPT_LOCAL, 0);
950
951
apply_general_options(wp, dict);
952
953
nr = dict_get_number(dict, (char_u *)"hidden");
src/testdir/test_popupwin.vim
@@ -3115,6 +3115,11 @@ func Test_popupmenu_info_border()
3115
call term_sendkeys(buf, "a\<C-X>\<C-U>")
3116
call VerifyScreenDump(buf, 'Test_popupwin_infopopup_8', {})
3117
3118
+ call term_sendkeys(buf, " \<Esc>")
3119
+ call term_sendkeys(buf, ":set completepopup+=width:10\<CR>")
3120
+ call term_sendkeys(buf, "a\<C-X>\<C-U>")
3121
+ call VerifyScreenDump(buf, 'Test_popupwin_infopopup_9', {})
3122
3123
call term_sendkeys(buf, "\<Esc>")
3124
call StopVimInTerminal(buf)
3125
call delete('XtestInfoPopup')
@@ -3436,6 +3441,11 @@ func Test_popupwin_atcursor_far_right()
3436
3441
normal! ggg$
3437
3442
let winid = popup_atcursor(repeat('x', 500), #{moved: 'any', border: []})
3438
3443
3444
+ " 'signcolumn' was getting reset
3445
+ call setwinvar(winid, '&signcolumn', 'yes')
3446
+ call popup_setoptions(winid, {'zindex': 1000})
3447
+ call assert_equal('yes', getwinvar(winid, '&signcolumn'))
3448
3439
3449
call popup_close(winid)
3440
3450
bwipe!
3451
set signcolumn&
src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
754
755
static int included_patches[] =
756
{ /* Add new patch number below this line */
757
+/**/
758
+ 1303,
759
/**/
760
1302,
761
0 commit comments