File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,12 @@ function toPopupSetOptionsOptions(
5555 options : Partial < Omit < OpenOptions , "bufnr" | "noRedraw" > > ,
5656) : vimFn . PopupSetOptionsOptions {
5757 const v : vimFn . PopupCreateOptions = {
58- line : options . row ? handleRelative ( options . relative ?? "editor" , options . row ) : undefined ,
59- col : options . col ? handleRelative ( options . relative ?? "editor" , options . col ) : undefined ,
58+ line : options . row
59+ ? handleRelative ( options . relative ?? "editor" , options . row )
60+ : undefined ,
61+ col : options . col
62+ ? handleRelative ( options . relative ?? "editor" , options . col )
63+ : undefined ,
6064 pos : options . anchor ? posFromAnchor ( options . anchor ) : undefined ,
6165 fixed : true , // To keep consistent with the behavior of Neovim's floating window
6266 flip : false , // To keep consistent with the behavior of Neovim's floating window
You can’t perform that action at this time.
0 commit comments