aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 583df986..e2ca8716 100644
--- a/vim/plugin/spellfile_local.vim
+++ b/vim/plugin/spellfile_local.vim
@@ -21,6 +21,6 @@ function! AddLocalSpellfile() abort
\ ], '.') . '.add'
setlocal spellfile<
execute 'setlocal spellfile+=$MYVIM/cache/spell/local/'.spellfile
-endfunction!
+endfunction
autocmd vimrc BufRead *
\ call AddLocalSpellfile() | nnoremap <buffer> zG 2zg