Skip to main content
Deno 2 is finally here 🎉️
Learn more
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@v3.7.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>