Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_win_get_position

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_win_get_position
import { nvim_win_get_position } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";

Gets the window position in display cells. First position is zero. Parameters: ~ {window} Window handle, or 0 for current window Return: ~ (row, col) tuple with the window position

Parameters

denops: Denops
window: unknown

Returns

Promise<unknown>