Filter out Empty nodes
authorGreg Hurrell <greg@hurrell.net>
Sat, 11 Jun 2016 06:51:21 +0000 (23:51 -0700)
committerGreg Hurrell <greg@hurrell.net>
Sat, 11 Jun 2016 06:51:21 +0000 (23:51 -0700)
commit03092194c92138a5e1a0593c6b0b6be9774a165e
treee52b364a99bb0e42078504d3ee2a06dd01d410b5
parentd776fd4ba96dac7f519c73c71b5528486a536926
Filter out Empty nodes

I wanted (want) to do this in a more generic way, but I first figured I would do
this "manually" using pattern matching and explicit constructors. Will keep
looking thought to see if there is something in `Control.Lens` or `Data.Data`
that would help me do this.

Closes: https://github.com/wincent/docvim/issues/9
lib/Text/Docvim/Optimize.hs
tests/fixtures/parser/command.golden
tests/fixtures/parser/integration-docvim.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/parser/integration-pinnacle.golden
tests/fixtures/parser/minimal-annotation.golden
tests/fixtures/parser/plugin-annotation.golden
tests/fixtures/parser/simple-annotations.golden