Skip to main content
Module

x/denops_std/option/mod.ts>opendevice

📚 Standard module for denops.vim
Go to Latest
variable opendevice
import { opendevice } from "https://deno.land/x/denops_std@v4.1.7/option/mod.ts";

only for MS-Windows Enable reading and writing from devices. This may get Vim stuck on a device that can be opened but doesn't actually do the I/O. Therefore it is off by default. Note that on MS-Windows editing "aux.h", "lpt1.txt" and the like also result in editing a device.

(default off)

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<boolean>; setGlobal(denops: Denops, value: boolean): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }