Skip to main content
Module

x/denops_std/option/mod.ts>modeline

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

If 'modeline' is on 'modelines' gives the number of lines that is checked for set commands. If 'modeline' is off or 'modelines' is zero no lines are checked. See |modeline|.

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>; }