We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75ece14 commit 0726a99Copy full SHA for 0726a99
1 file changed
autoload/quickui/window.vim
@@ -51,6 +51,7 @@ function! s:window.__prepare_opts(textlist, opts)
51
let opts.wrap = get(a:opts, 'wrap', 0)
52
let opts.color = get(a:opts, 'color', 'QuickBG')
53
let opts.border = get(a:opts, 'border', 0)
54
+ let opts.opacity = get(a:opts, 'opacity', 100)
55
let self.opts = opts
56
let self.bid = quickui#core#buffer_alloc()
57
let self.dirty = 1
@@ -171,6 +172,9 @@ function! s:window.__vim_create()
171
172
if get(self.opts, 'button', 0) != 0
173
let opts.close = 'button'
174
endif
175
+ if has('patch-9.2.428')
176
+ let opts.opacity = self.opts.opacity
177
+ endif
178
let self.winid = popup_create(self.bid, opts)
179
let winid = self.winid
180
let local = quickui#core#popup_local(winid)
0 commit comments