Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>op.shiftwidth

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
variable op.shiftwidth
import { op } from "https://deno.land/x/ddc_vim@v3.4.0/deps.ts";
const { shiftwidth } = op;

Number of spaces to use for each step of (auto)indent. Used for |'cindent'|, |>>|, |<<|, etc. When zero the 'ts' value will be used. Use the |shiftwidth()| function to get the effective shiftwidth value.

type

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