runtime: make the spellfile creation use .nvim folder #1990

This commit is contained in:
Seth Woodworth
2015-02-15 00:13:22 -05:00
committed by Justin M. Keyes
parent 1b055c54a0
commit fd636fc6dc

View File

@@ -198,7 +198,7 @@ endfunc
function! spellfile#WritableSpellDir()
if has("unix")
" For Unix always use the $HOME/.vim directory
return $HOME . "/.vim/spell"
return $HOME . "/.nvim/spell"
endif
for dir in split(&rtp, ',')
if filewritable(dir) == 2