From 04958cbaf25eea27eceedaa987adfb354ad5f7fd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 23 Jun 2018 19:23:02 +0200 Subject: patch 8.1.0105: all tab stops are the same Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711) --- runtime/optwin.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'runtime/optwin.vim') diff --git a/runtime/optwin.vim b/runtime/optwin.vim index cd1bea0cb..5ab5792ae 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -856,6 +856,14 @@ call OptionL("ts") call append("$", "shiftwidth\tnumber of spaces used for each step of (auto)indent") call append("$", "\t(local to buffer)") call OptionL("sw") +if has("vartabs") + call append("$", "vartabstop\tlist of number of spaces a tab counts for") + call append("$", "\t(local to buffer)") + call OptionL("vts") + call append("$", "varsofttabstop\tlist of number of spaces a soft tabsstop counts for") + call append("$", "\t(local to buffer)") + call OptionL("vsts") +endif call append("$", "smarttab\ta in an indent inserts 'shiftwidth' spaces") call BinOptionG("sta", &sta) call append("$", "softtabstop\tif non-zero, number of spaces to insert for a ") -- cgit v1.2.1