Skip to main content
Module

x/denops_std/option/mod.ts>joinspaces

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

Insert two spaces after a '.', '?' and '!' with a join command. When 'cpoptions' includes the 'j' flag, only do this after a '.'. Otherwise only one space is inserted. NOTE: This option is set when 'compatible' is set.

type

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