Saturday, September 10, 2011

Re: Smartindent inserting two tabs instead of one

On Sat, Sep 10, 2011 at 13:50, Matteo Landi <landimatte@gmail.com> wrote:
> Hi Dotan,
>
> could you please provide more information, and maybe add an example in
> which you show us the problem? Maybe tell us what are you typing, and
> how the file looks like after your insert operations.
>

int main () {
// This should have only a single, 4-character-width tab in front of it
}

Interestingly, the two tabs have been converted to four spaces each
when copying to the mail. In VIM the comment is seen indented eight
characters (the first slash is under the space after "main"), which by
moving the cursor can be seen to be two four-character-width tabs.

Thanks.
--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

--
You received this message from the "vim_use" 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

No comments: