Mercurial > vim
comparison runtime/optwin.vim @ 14175:2ad722003b36 v8.1.0105
patch 8.1.0105: all tab stops are the same
commit https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 23 19:23:02 2018 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jun 2018 19:30:07 +0200 |
parents | c2312fc9fbfe |
children | fe57e4f0eac1 |
comparison
equal
deleted
inserted
replaced
14174:d36eedd19166 | 14175:2ad722003b36 |
---|---|
854 call append("$", "\t(local to buffer)") | 854 call append("$", "\t(local to buffer)") |
855 call <SID>OptionL("ts") | 855 call <SID>OptionL("ts") |
856 call append("$", "shiftwidth\tnumber of spaces used for each step of (auto)indent") | 856 call append("$", "shiftwidth\tnumber of spaces used for each step of (auto)indent") |
857 call append("$", "\t(local to buffer)") | 857 call append("$", "\t(local to buffer)") |
858 call <SID>OptionL("sw") | 858 call <SID>OptionL("sw") |
859 if has("vartabs") | |
860 call append("$", "vartabstop\tlist of number of spaces a tab counts for") | |
861 call append("$", "\t(local to buffer)") | |
862 call <SID>OptionL("vts") | |
863 call append("$", "varsofttabstop\tlist of number of spaces a soft tabsstop counts for") | |
864 call append("$", "\t(local to buffer)") | |
865 call <SID>OptionL("vsts") | |
866 endif | |
859 call append("$", "smarttab\ta <Tab> in an indent inserts 'shiftwidth' spaces") | 867 call append("$", "smarttab\ta <Tab> in an indent inserts 'shiftwidth' spaces") |
860 call <SID>BinOptionG("sta", &sta) | 868 call <SID>BinOptionG("sta", &sta) |
861 call append("$", "softtabstop\tif non-zero, number of spaces to insert for a <Tab>") | 869 call append("$", "softtabstop\tif non-zero, number of spaces to insert for a <Tab>") |
862 call append("$", "\t(local to buffer)") | 870 call append("$", "\t(local to buffer)") |
863 call <SID>OptionL("sts") | 871 call <SID>OptionL("sts") |