Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>test_option_not_set

📚 Standard module for denops.vim
Go to Latest
function test_option_not_set
import { test_option_not_set } from "https://deno.land/x/denops_std@v4.1.4/function/vim/mod.ts";

Reset the flag that indicates option {name} was set. Thus it looks like it still has the default value. Use like this: set ambiwidth=double call test_option_not_set('ambiwidth') Now the 'ambiwidth' option behaves like it was never changed, even though the value is "double". Only to be used for testing! Can also be used as a |method|: GetOptionName()->test_option_not_set()

Parameters

denops: Denops
name: unknown

Returns

Promise<unknown>