Saturday, September 10, 2011

Re: question about foldmethod=indent

On 09/10/2011 05:53 PM, Gelonida N wrote:
> Hi,
>
>
> I have a small question.
>
> for some text_file I wanted to use foldmethod=ident
>
>
> I have following
> buffer ( no tabs / only blanks)
>
>
> 0000000
> 0000000
> 0000000
> 11111111111111
> 111111111111
> 1111111
> 22222222222222222
> 22222222222222222
> 22222222222222222
> 22222222222222222
> 22222222222222222
>
>
>
> All the lines containing '2' can be folded and unfolded
>
> however vim does not fold the first level so the lines with '1'
> characters are not being folded.
>
>
> Is there any parameter, such, that I can fold already the very first
> indentation.
>
> I was convinced, that the last time, that I used vim with
> foldmethod=indent, I was able to fold the first level, but probably I
> just remember wrong.
>
>
> Thanks in advance for your help
>


It has to be 4, not 5 spaces, I think then it will indent. -ak

--
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: