mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
runtime: make the spellfile creation use .nvim folder #1990
This commit is contained in:

committed by
Justin M. Keyes

parent
1b055c54a0
commit
fd636fc6dc
@@ -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
|
||||
|
Reference in New Issue
Block a user