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

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

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

Filenames are assumed to be 8 characters plus one extension of 3 characters. Multiple dots in file names are not allowed. When this option is on, dots in file names are replaced with underscores when adding an extension (".~" or ".swp"). This option is useful when editing files on an MS-DOS compatible filesystem, e.g., messydos or crossdos.

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