import { nvim_buf_set_mark } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";
Sets a named mark in the given buffer, all marks are allowed
file/uppercase, visual, last change, etc. See mark-motions
.
Marks are (1,0)-indexed. api-indexing
Note: Passing 0 as line deletes the mark
Parameters:
- {buffer} Buffer to set the mark on
- {name} Mark name
- {line} Line number
- {col} Column/row number
- {opts} Optional parameters. Reserved for future use.
Return: true if the mark was set, else false.
See also:
nvim_buf_del_mark()
nvim_buf_get_mark()