Skip to main content
Module

x/denops_std/option/mod.ts>encoding

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

Sets the character encoding used inside Vim. It applies to text in the buffers, registers, Strings in expressions, text stored in the viminfo file, etc. It sets the kind of characters which Vim can work with. See |encoding-names| for the possible values.

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