Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denops_std/option/vim/mod.ts>textmode

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

This option is obsolete. Use 'fileformat'. For backwards compatibility, when 'textmode' is set, 'fileformat' is set to "dos". When 'textmode' is reset, 'fileformat' is set to "unix".

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