Skip to main content
Module

x/denops_std/option/mod.ts>modifiable

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

When off the buffer contents cannot be changed. The 'fileformat' and 'fileencoding' options also can't be changed. Can be reset on startup with the |-M| command line argument.

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<boolean>; setLocal(denops: Denops, value: boolean): Promise<void>; resetLocal(denops: Denops): Promise<void>; }