Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/helper/load.ts>load

๐Ÿ“š Standard module for denops.vim
Go to Latest
function load
import { load } from "https://deno.land/x/denops_std@v3.9.0/helper/load.ts";

Load a Vim script in a local/remote URL

It does nothing if the url is already loaded unless force option is specified. It returns true when the script is loaded. Otherwise, it returns false.

Parameters

denops: Denops
url: URL
optional
options: LoadOptions = [UNSUPPORTED]

Returns

Promise<boolean>