From: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Date: Fri, 17 Aug 2018 14:40:37 +0000 (-0700)
Subject: write cache in --check mode (#453)
X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/9e15cacc6708a7b0dd4d86c943b591bb66c28e29?hp=9e15cacc6708a7b0dd4d86c943b591bb66c28e29

write cache in --check mode (#453)

Fixes #448.

This diff makes us always write to the cache in normal mode, except
if the file is already in the cache, and it makes us write to the
cache in --check mode if the file is already well formatted.

I also fixed some related docstrings.

WriteBack.NO is now used only in tests.
---