Files
vim-gitgutter/test
Andy Stewart 1d422b9f98 Revert to non-binary writefile() for writing buffer.
The previous commit switched use of writefile() to binary mode so that
we could prevent a newline being added to a completely empty buffer.
Evidently, however, binary mode has side effects (see #567) so this
commit returns to non-binary mode - with a simpler fix for completely
empty files.

Unfortunately this implementation does not work for noeol files - see
the failing test - because writefile() does not take account of
'nofixeol' (unlike :write).  This is suboptimal but acceptable because
noeol files are not be encountered often.

See #567.
2018-12-15 14:55:14 +00:00
..
2018-03-14 14:44:33 +00:00
2014-11-12 16:52:58 +01:00
2016-10-27 12:15:43 +02:00
2018-03-08 11:47:08 +00:00