aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 00:48:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 00:48:31 +1200
commit0ed9d81d707e9820dd92971eebbc6b0bafd43236 (patch)
treeb69224d51a3e2031ba1b1302114ca872be6b80a8
parentCorrect <Leader>E map definition (diff)
downloaddotfiles-0ed9d81d707e9820dd92971eebbc6b0bafd43236.tar.gz
dotfiles-0ed9d81d707e9820dd92971eebbc6b0bafd43236.zip
Remove bang from endfunction
-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