Skip to main content
Module

x/denops_std/option/mod.ts>mkspellmem

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

{not available when compiled without the |+syntax| feature} Parameters for |:mkspell|. This tunes when to start compressing the word tree. Compression can be slow when there are many words, but it's needed to avoid running out of memory. The amount of memory used per word depends very much on how similar the words are, that's why this tuning is complicated.

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