Skip to main content
Go to Latest
function nvim_buf_get_extmark_by_id
import { nvim_buf_get_extmark_by_id } from "https://deno.land/x/denops_std@v6.4.0/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 - hl_name: Whether to include highlight group name instead of id, true if omitted

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>