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

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

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

Gets the position (0-indexed) of an extmark.

Parameters: {buffer} Buffer handle, or 0 for current buffer {ns_id} Namespace id from nvim_create_namespace() {id} Extmark id {opts} Optional parameters. Keys: - details: Whether to include the details dict

Return: 0-indexed (row, col) tuple or empty list () if extmark id was absent

Parameters

denops: Denops
buffer: unknown
ns_id: unknown
id: unknown
opts: unknown

Returns

Promise<unknown>