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

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

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_buf_get_mark
import { nvim_buf_get_mark } from "https://deno.land/x/denops_std@v3.9.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()|

Parameters

denops: Denops
buffer: unknown
name: unknown

Returns

Promise<unknown>