Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v3.9.0/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>