aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 19:29:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 19:29:30 +1300
commit505a2c24d0414931abe74aab3f970d8c920c297a (patch)
treea2059ee5acf8cda3d1e192defe07ac3ab6c958c9
parent074ba8c19100d2153ab5d82b8c23892f6254a06f (diff)
downloaddotfiles-505a2c24d0414931abe74aab3f970d8c920c297a.tar.gz
dotfiles-505a2c24d0414931abe74aab3f970d8c920c297a.zip
Move 'encoding' Vim config into subfile
With the `scriptencoding` call that was in this file removed in 1834c08, there's no longer anything that's sensitive to the order in which this option is loaded relative to any other options.
-rw-r--r--vim/config/encoding.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/encoding.vim b/vim/config/encoding.vim
new file mode 100644
index 00000000..72f2d40e
--- /dev/null
+++ b/vim/config/encoding.vim
@@ -0,0 +1,4 @@
+" Use UTF-8 by default wherever possible
+if has('multi_byte')
+ set encoding=utf-8
+endif