aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-07 00:30:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-07 00:30:12 +1200
commitca23de7b4fbc20a5c36fb7cd86796ead698c8905 (patch)
tree23357fa60f699d05a85412ab5414a82ff4d869df /vim/vimrc
parentRemove multibyte character from autoload file (diff)
downloaddotfiles-ca23de7b4fbc20a5c36fb7cd86796ead698c8905.tar.gz
dotfiles-ca23de7b4fbc20a5c36fb7cd86796ead698c8905.zip
Set 'spellfile' back to default before prefixing
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 99afc22f..cf0c4675 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -319,6 +319,7 @@ if has('unix')
let s:isfname = &isfname
set isfname=1-255
endif
+set spellfile&
execute 'set spellfile^='.escape#Arg(escape#Item(s:spellfile))
if exists('s:isfname')
let &isfname = s:isfname