diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-21 23:26:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-21 23:26:28 +1300 |
commit | 164ec2c89ddafd8231565d26e843e2eacf47cd57 (patch) | |
tree | cb774f37609efa73b5a658464f1c0ef0880e1a5a /vim | |
parent | Tweak 'cpoptions' C flag instead of 'nocompatible' (diff) | |
download | dotfiles-164ec2c89ddafd8231565d26e843e2eacf47cd57.tar.gz dotfiles-164ec2c89ddafd8231565d26e843e2eacf47cd57.zip |
Remove 'mac' from 'fileformats'
It seems unlikely that I'll ever edit a MacOS encoded file in my
lifetime on the Unix and Windows systems to which these dotfiles are
deployed, and when 'compatible' is set, the default empty value for this
option breaks everything with a bunch of ^J characters in every
god-fearing file. Not worth the trouble.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/config/files.vim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vim/config/files.vim b/vim/config/files.vim index 7a23b4c5..61c3b6cb 100644 --- a/vim/config/files.vim +++ b/vim/config/files.vim @@ -18,10 +18,6 @@ if has('file_in_path') set path=** endif -" Try Mac line-endings if UNIX or DOS don't make sense; this has never -" happened to me but who knows, it might one day -set fileformats+=mac - " If the Vim buffer for a file doesn't have any changes and Vim detects the " file has been altered, quietly update it set autoread |