Yue Wu wrote:

> As title, I have a line that starts with some tabs, and it's a head of
> fold, I set the foldtext to show the line as it is, but when it's folded
> and unfolded, the tabs aren't the same width, so the line will shift
> when fold and unfold.
> 
> Example(leading | means the start of col of that line):
> 
> |        Line with starting one tab.
> 
> When I fold it, it will become:
> 
> |   Line with starting one tab.------------------------------
> 
> Is it a feature or bug?

This is a feature.  In a narrow window, or with a lot of indent, one
might not have much text in the fold, so the indent is skipped.

-- 
hundred-and-one symptoms of being an internet addict:
206. You religiously respond immediately to e-mail, while ignoring
     your growing pile of snail mail.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui