aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 09:41:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 09:41:15 +1200
commite3701ae3a97c425a6e805680a786c6b68786082d (patch)
tree70c18a9457653497cd68077048c614218053fa53
parentMake map display mapping reflect comment (diff)
downloaddotfiles-e3701ae3a97c425a6e805680a786c6b68786082d.tar.gz
dotfiles-e3701ae3a97c425a6e805680a786c6b68786082d.zip
Check MYVIM is not blank in spellfile plugin
-rw-r--r--vim/plugin/spellfile_local.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim
index e2ca8716..302854f4 100644
--- a/vim/plugin/spellfile_local.vim
+++ b/vim/plugin/spellfile_local.vim
@@ -1,4 +1,4 @@
-if exists('loaded_spellfile_local')
+if exists('loaded_spellfile_local') || $MYVIM ==# ''
finish
endif
let loaded_spellfile_local = 1