Bug#713066: yaml indentation is faulty, could use improvement
James McCoy
jamessan at debian.org
Sat Feb 1 03:22:54 UTC 2014
Control: tag -1 unreproducible
On Sat, Jun 22, 2013 at 11:56:32AM +0200, martin f krafft wrote:
> It is possible to place these into a list as well, i.e. a list of
> hashes:
>
> ---
> - a: b
> c: d
> - 1: 2
> 3: 4
>
> Unfortunately, when entering this, the list's indentation level is
> not preserved, e.g. (▮ is cursor position, ▯ is where I think it
> should be):
>
> ---
> - a: b<return>
> ▮ ▯
The behavior you describe is what I see with Vim. The YAML indent file
was introduced around 7.3.753 and hasn't changed since. Are you sure
you aren't using a third party indent script?
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20140131/c0d3f340/attachment.sig>
More information about the pkg-vim-maintainers
mailing list