aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-21 23:26:28 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-21 23:26:28 +1300
commit164ec2c89ddafd8231565d26e843e2eacf47cd57 (patch)
treecb774f37609efa73b5a658464f1c0ef0880e1a5a
parentTweak 'cpoptions' C flag instead of 'nocompatible' (diff)
downloaddotfiles-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.
-rw-r--r--vim/config/files.vim4
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