aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 56ee3d51..6bad90a6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -70,10 +70,8 @@ set cpoptions+=J
" encoded path in filename (trailing double slash)
set directory^=$MYVIM/cache/swap//
-" Use UTF-8 if we can and $LANG doesn't tell us not to
-if has('multi_byte')
- \ && !exists('$LANG')
- \ && &encoding ==# 'latin1'
+" Default to UTF-8 if $LANG didn't specify
+if !exists('$LANG')
set encoding=utf-8
endif