import { nvim_buf_get_mark } from "https://deno.land/x/denops_std@v6.1.0/function/nvim/mod.ts";
Returns a tuple (row,col) representing the position of the named mark. See
mark-motions
.
Marks are (1,0)-indexed. api-indexing
Parameters:
- {buffer} Buffer handle, or 0 for current buffer
- {name} Mark name
Return: (row, col) tuple, (0, 0) if the mark is not set, or is an uppercase/file mark set in another buffer.
See also:
nvim_buf_set_mark()
nvim_buf_del_mark()