Skip to main content
Module

x/ddc_vim/deps.ts>op.softtabstop

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

Number of spaces that a counts for while performing editing operations, like inserting a or using . It "feels" like s are being inserted, while in fact a mix of spaces and s is used. This is useful to keep the 'ts' setting at its standard value of 8, while being able to edit like it is set to 'sts'. However, commands like "x" still work on the actual characters. When 'sts' is zero, this feature is off. When 'sts' is negative, the value of 'shiftwidth' is used. 'softtabstop' is set to 0 when the 'paste' option is set and restored when 'paste' is reset. See also |ins-expandtab|. When 'expandtab' is not set, the number of spaces is minimized by using s. The 'L' flag in 'cpoptions' changes how tabs are used when 'list' is set. NOTE: This option is set to 0 when 'compatible' is set.