comparison runtime/optwin.vim @ 6933:62ba356c2d4e v7.4.785

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)
author Bram Moolenaar <bram@vim.org>
date Fri, 17 Jul 2015 14:18:08 +0200
parents f654ad95fd4e
children b2673982c625
comparison
equal deleted inserted replaced
6932:727f3fececd8 6933:62ba356c2d4e
952 call append("$", "\t(local to buffer)") 952 call append("$", "\t(local to buffer)")
953 call <SID>BinOptionL("bin") 953 call <SID>BinOptionL("bin")
954 call append("$", "endofline\tlast line in the file has an end-of-line") 954 call append("$", "endofline\tlast line in the file has an end-of-line")
955 call append("$", "\t(local to buffer)") 955 call append("$", "\t(local to buffer)")
956 call <SID>BinOptionL("eol") 956 call <SID>BinOptionL("eol")
957 call append("$", "fixeol\tfixes missing end-of-line at end of text file")
958 call append("$", "\t(local to buffer)")
959 call <SID>BinOptionL("fixeol")
957 if has("multi_byte") 960 if has("multi_byte")
958 call append("$", "bomb\tprepend a Byte Order Mark to the file") 961 call append("$", "bomb\tprepend a Byte Order Mark to the file")
959 call append("$", "\t(local to buffer)") 962 call append("$", "\t(local to buffer)")
960 call <SID>BinOptionL("bomb") 963 call <SID>BinOptionL("bomb")
961 endif 964 endif