Skip to main content
Module

x/dpp_vim/deps.ts>fn.sign_jump

Dark powered plugin manager for Vim/neovim
Latest
function fn.sign_jump
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { sign_jump } = fn;

Open the buffer {buf} or jump to the window that contains {buf} and position the cursor at sign {id} in group {group}. This is similar to the :sign-jump command.

If {group} is an empty string, then the global group is used. For the use of {buf}, see bufname().

Returns the line number of the sign. Returns -1 if the arguments are invalid.

Example:

" Jump to sign 10 in the current buffer
call sign_jump(10, '', '')

Can also be used as a method:

GetSignid()->sign_jump()

Parameters

denops: Denops
id: unknown
group: unknown
buf: unknown

Returns

Promise<number>