Skip to main content
Module

x/denops_std/option/mod.ts>ambiwidth

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

Only effective when 'encoding' is "utf-8" or another Unicode encoding. Tells Vim what to do with characters with East Asian Width Class Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek letters, Cyrillic letters).

type

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