Loading ...
Sorry, an error occurred while loading the content.

Re: Implementation of script support for non-uniform tabstops

Expand Messages
  • Nick Gravgaard
    ... Was this the reason for this feature not making it into the official version of Vim? If so, is there another way to remain backwards compatible with stuff
    Message 1 of 12 , Nov 19, 2012
    • 0 Attachment
      On Mon, Nov 19, 2012, at 16:21, Matthew Winn wrote:
      > On Sun, 18 Nov 2012 16:28:19 -0800 (PST), Ben Fritz
      > <fritzophrenic@...> wrote:
      >
      > > 1. Implement variable-width tabstops by allowing a comma-separated list to be used as a value for 'tabstop'. For example, setting ts=4,2,8 would have the first tab in the line stop at column 4, the next stop at column 6, and all other tabs stop at 14, 22, 30, ...
      >
      > I implemented a patch to do this a few years ago, when I was out of
      > work and decided to grab something off the TODO list to keep me busy.
      > (It's since been taken over by someone else.) During the initial
      > discussion it was decided that it wasn't a good idea to have multiple
      > values in the "tabstop" option in case someone tried to treat its
      > value as a number

      Was this the reason for this feature not making it into the official
      version of Vim? If so, is there another way to remain backwards
      compatible with stuff that expects its value to be a number?

      > so I eventually settled on "vartabstop" as the name of the option.

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.