Skip to main content
Module

x/ddc_vim/deps.ts>op.varsofttabstop

Dark deno-powered completion framework for neovim/Vim
Latest
variable op.varsofttabstop
import { op } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { varsofttabstop } = op;

A list of the number of spaces that a <Tab> counts for while editing, such as inserting a <Tab> or using <BS>. It "feels" like variable- width <Tab>s are being inserted, while in fact a mixture of spaces and <Tab>s is used. Tab widths are separated with commas, with the final value applying to all subsequent tabs.

For example, when editing assembly language files where statements start in the 9th column and comments in the 41st, it may be useful to use the following:

:set varsofttabstop=8,32,8

This will set soft tabstops with 8 and 8 + 32 spaces, and 8 more for every column thereafter.

Note that the value of 'softtabstop' will be ignored while 'varsofttabstop' is set.

(default "")

only available when compiled with the +vartabs feature

type

LocalOption<string>