This commit is contained in:
Justin M. Keyes
2025-01-09 09:26:45 -08:00
committed by GitHub
parent 0c296ab224
commit 7c00e0efbb
16 changed files with 155 additions and 118 deletions

View File

@@ -879,8 +879,7 @@ function M.make_floating_popup_options(width, height, opts)
col = col + (opts.offset_x or 0),
height = height,
focusable = opts.focusable,
relative = opts.relative == 'mouse' and 'mouse'
or opts.relative == 'editor' and 'editor'
relative = (opts.relative == 'mouse' or opts.relative == 'editor') and opts.relative
or 'cursor',
style = 'minimal',
width = width,