mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
This is to avoid side effects caused by switching to the buffer to be written and back again. It also means that the plugin can process any buffer without having to make it the current buffer. Using the lower level writefile() function means we have to deal with line endings. It might also mean we have to deal with (file) encodings but I hope not... See #463, #466.