X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vimrc;h=750786dd4e59e2ce9a13cda0b78c96940cdd9a94;hb=4d2806afc5d1cad5fafb0cc7ed9df7d58da666b1;hp=8e8884172805f4014f01f25446dc241e559543b5;hpb=096bb648471cb26e48e5c59911f52b6e436464a3;p=dotfiles.git diff --git a/.vimrc b/.vimrc index 8e88841..750786d 100644 --- a/.vimrc +++ b/.vimrc @@ -781,7 +781,7 @@ if has("spell") autocmd BufReadPost * call SetupSpell() function! SaveSpell() - if expand('%') == expand('~/.vim/spell/en.ascii.add') + if expand('%:p') == expand('~/.vim/spell/en.ascii.add') mkspell! -ascii % else mkspell! %