Skip to main content
Module

x/denops_std/function/mod.ts

πŸ“š Standard module for denops.vim
Go to Latest
File
/** * A module to provide functions of Vim and Neovim native functions. * * ```typescript * import type { Denops } from "https://deno.land/x/denops_std@$MODULE_VERSION/mod.ts"; * import * as fn from "https://deno.land/x/denops_std@$MODULE_VERSION/function/mod.ts"; * * export async function main(denops: Denops): Promise<void> { * // fn holds functions exists in both Vim and Neovim * console.log(fn.or(denops, 0, 1)); * } * ``` * * See [`vim/mod.ts`](./vim/mod.ts) or [`nvim/mod.ts`](nvim/mod.ts) if you need Vim or Neovim specific functions. * * @module */// NOTE:// Do NOT add modules manually to this file.// Add modules to `_manual.ts` instead for manually written modules.export * from "./_manual.ts";export * from "./_generated.ts";