avakhov/vim-yaml — pull request #1 by jbryan (2012-04-18 21:56:02+00:00)
Title: Fix for reformatting in VIM

This fixes a small annoyance when reformatting yaml with vim's = command. Before, arrays listed with '-' syntax would cause subsequent keys to be indented. e.g..

hostlist:
- "localhost:9160"
- "example.org:9160"
another_key: true

would get reformated to

hostlist:
- "localhost:9160"
- "example.org:9160"
another_key: true