// Edit a new, empty buffer. Set options for a "wipeout"
// buffer.
set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL);
+ set_option_value((char_u *)"bl", 0L, NULL, OPT_LOCAL);
set_option_value((char_u *)"bt", 0L,
(char_u *)"nofile", OPT_LOCAL);
set_option_value((char_u *)"bh", 0L,
call setline(1, 'text text text text text text text ')
func ChangeColor()
let id = popup_findinfo()
+ if buflisted(winbufnr(id))
+ call setline(1, 'buffer is listed')
+ endif
eval id->popup_setoptions(#{highlight: 'InfoPopup'})
endfunc