diff options
Diffstat (limited to 'vim/after/plugin/spellfile_local.vim')
-rw-r--r-- | vim/after/plugin/spellfile_local.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/after/plugin/spellfile_local.vim b/vim/after/plugin/spellfile_local.vim index 1655e78c..7d805660 100644 --- a/vim/after/plugin/spellfile_local.vim +++ b/vim/after/plugin/spellfile_local.vim @@ -1,3 +1,8 @@ +" Don't make these settings if the base plugin didn't load +if !exists('g:loaded_spellfile_local') + finish +endif + " Use XDG dirs for 'spellfile' if XDG_DATA_HOME is useable if xdg#DataHome() !=# '' let g:spellfile_local_dirs = [ xdg#DataHome() ] |