Skip to main content
Module

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

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

Set the time Vim uses internally. Currently only used for timestamps in the history, as they are used in viminfo, and for undo. Using a value of 1 makes Vim not sleep after a warning or error message. {expr} must evaluate to a number. When the value is zero the normal behavior is restored.

Can also be used as a method:

GetTime()->test_settime()

Parameters

denops: Denops
expr: unknown

Returns

Promise<void>