From a86d4b323e2f5ee9fec791ca1dcce7a608de575d Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Thu, 8 Oct 2015 20:17:25 +0200 Subject: vim-patch:7.4.785 Problem: On some systems automatically adding the missing EOL causes problems. Setting 'binary' has too many side effects. Solution: Add the 'fixeol' option, default on. (Pavel Samarkin) https://github.com/vim/vim/commit/34d72d4b6c1a2b04a214d8a49b7d22c97bc7a8bc --- src/nvim/options.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 633eabab60..086668d0bb 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -807,6 +807,14 @@ return { varname='p_fcs', defaults={if_true={vi="vert:|,fold:-"}} }, + { + full_name='fixendofline', abbreviation='fixeol', + type='bool', scope={'buffer'}, + vi_def=true, + redraw={'statuslines'}, + varname='p_fixeol', + defaults={if_true={vi=true}} + }, { full_name='fkmap', abbreviation='fk', type='bool', scope={'global'}, -- cgit