On Mon, Jul 22, 2013 at 1:44 PM, BPJ <b...@melroch.se> wrote:

> 2013-07-22 04:01, Steve Litt skrev:
>
>  Hi all,
>>
>> Is there something I can use to make Vim fold correctly on YAML files?
>>
>
> You might look at how Python folding is done.
>
> Fold markers in YAML comments would *work*, I suppose, however
> inelegant.  I find myself wanting to insert navigational
> comments into large YAML files anyway.
>

     How close does

:set fdm=indent

get you? (Make sure that the 'shiftwidth' setting is right.)

:help 'foldmethod'
:help 'shiftwidth'

-- 
HTH
Benji Fisher

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to