File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,11 @@ function popup.create(what, vim_options)
386
386
end
387
387
388
388
if vim_options .highlight then
389
- vim .api .nvim_win_set_option (win_id , " winhl" , string.format (" Normal:%s" , vim_options .highlight ))
389
+ vim .api .nvim_win_set_option (
390
+ win_id ,
391
+ " winhl" ,
392
+ string.format (" Normal:%s,EndOfBuffer:%s" , vim_options .highlight , vim_options .highlight )
393
+ )
390
394
end
391
395
392
396
-- enter
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ describe("plenary.popup", function()
27
27
highlight = " PopupColor1" ,
28
28
})
29
29
30
- eq (" Normal:PopupColor1" , vim .api .nvim_win_get_option (win_id , " winhl" ))
30
+ eq (" Normal:PopupColor1,EndOfBuffer:PopupColor1 " , vim .api .nvim_win_get_option (win_id , " winhl" ))
31
31
end )
32
32
33
33
it (" can create a border" , function ()
You can’t perform that action at this time.
0 commit comments