Skip to main content
Module

x/denops_std/option/mod.ts>vartabstop

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

{only available when compiled with the |+vartabs| feature} A list of the number of spaces that a in the file counts for, separated by commas. Each value corresponds to one tab, with the final value applying to all subsequent tabs. For example: > :set vartabstop=4,20,10,8 < This will make the first tab 4 spaces wide, the second 20 spaces, the third 10 spaces, and all following tabs 8 spaces.

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }