Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v4.1.4/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>