Special-case empty output
authorGreg Hurrell <greg@hurrell.net>
Mon, 13 Jun 2016 04:58:04 +0000 (21:58 -0700)
committerGreg Hurrell <greg@hurrell.net>
Mon, 13 Jun 2016 04:58:04 +0000 (21:58 -0700)
commit2f823e05a56d527dc17df1c07d57520ed014d86c
tree232d4e6b69a9c2f60e60aa47f87780658a40defb
parentfc0a73a94578640edbf86f16e530e5292749df62
Special-case empty output

Don't print a blank-line, prefer a zero-byte file.

Closes: https://github.com/wincent/docvim/issues/21
lib/Text/Docvim/Printer/Markdown.hs
lib/Text/Docvim/Printer/Vim.hs
tests/fixtures/integration/loupe/golden/markdown.golden
tests/fixtures/integration/loupe/golden/plaintext.golden
tests/fixtures/integration/terminus/golden/markdown.golden
tests/fixtures/integration/terminus/golden/plaintext.golden
tests/fixtures/integration/vim-clipper/golden/markdown.golden
tests/fixtures/integration/vim-clipper/golden/plaintext.golden