Fix jumbled sections
authorGreg Hurrell <greg@hurrell.net>
Sat, 11 Jun 2016 05:22:11 +0000 (22:22 -0700)
committerGreg Hurrell <greg@hurrell.net>
Sat, 11 Jun 2016 05:22:11 +0000 (22:22 -0700)
commit1e957547308b07d99817a61e1ccacae008fe8d00
treebe18a6938fdba9d391ed5e308d5609d8d75b739a
parentf1451770db0e8848081d23e8632d04205ccac343
Fix jumbled sections

Injected headings were not getting correctly extracted because they didn't
appear inside `DocBlock`s.

Closes: https://github.com/wincent/docvim/issues/8
lib/Text/Docvim/Visitor/Section.hs
tests/fixtures/integration/ferret/golden/markdown.golden
tests/fixtures/integration/ferret/golden/plaintext.golden
tests/fixtures/markdown/integration-ferret-plugin.golden
tests/fixtures/parser/command.golden
tests/fixtures/parser/integration-ferret-ftplugin-qf.golden
tests/fixtures/parser/integration-ferret-plugin.golden
tests/fixtures/parser/integration-ferret-private.golden
tests/fixtures/vim/integration-ferret-plugin.golden