Skip to main content
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@v6.4.0/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>