This commit is contained in:
Chiel ten Brinke 2017-10-20 14:45:24 +02:00
parent f68c2cc9b6
commit a4b3c40e8c

View File

@ -228,6 +228,7 @@ else:
for eol in possible_eols:
lines = [splitline for line in lines for splitline in line.split(eol)]
if vim.current.buffer[:] != lines:
vim.current.buffer[:] = lines
EOF
@ -287,6 +288,7 @@ else:
for eol in possible_eols:
lines = [splitline for line in lines for splitline in line.split(eol)]
if vim.current.buffer[:] != lines:
vim.current.buffer[:] = lines
vim.command('return 0')
EOF