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_get_context

📚 Standard module for denops.vim
Go to Latest
function nvim_get_context
import { nvim_get_context } from "https://deno.land/x/denops_std@v5.0.1/function/nvim/mod.ts";

Gets a map of the current editor state.

Parameters: {opts} Optional parameters. - types: List of context-types ("regs", "jumps", "bufs", "gvars", …) to gather, or empty for "all".

Return: map of global context.

Parameters

denops: Denops
opts: unknown

Returns

Promise<unknown>