Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions popup/nvim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ function toNvimWinSetConfig(
anchor: options.anchor,
width: options.width,
height: options.height,
col: options.col,
row: options.row,
// Neovim col/row is 0-based
col: options.col !== undefined ? options.col - 1 : undefined,
row: options.row !== undefined ? options.row - 1 : undefined,
focusable: false, // To keep consistent with the behavior of Vim's `popup_create()`
zindex: options.zindex,
border: options.border ? toNvimBorder(options.border) : undefined,
Expand Down