Only write highlight to cache when CacheDir is set
authorbep <bjorn.erik.pedersen@gmail.com>
Thu, 16 Apr 2015 00:27:37 +0000 (02:27 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Thu, 16 Apr 2015 00:27:23 +0000 (02:27 +0200)
commitbe0d9770095a6497a69a610783a5710982591084
tree8aa80f22f0bc80d6474bf305b396f71b82ad8f29
parentbee52f85aee6383b357406baa9ba1e3b725a5a80
Only write highlight to cache when CacheDir is set

To avoid writing cache files when testing.
helpers/pygments.go