Skip to main content
Module

x/ddc_vim/deps.ts>fn.setenv

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.setenv
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { setenv } = fn;

Set environment variable {name} to {val}. When {val} is |v:null| the environment variable is deleted. See also |expr-env|. Can also be used as a |method|, the base is passed as the second argument: GetPath()->setenv('PATH')

Parameters

denops: Denops
name: unknown
val: unknown

Returns

Promise<unknown>