diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/spellfile_local.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim index 302854f4..6e04babf 100644 --- a/vim/plugin/spellfile_local.vim +++ b/vim/plugin/spellfile_local.vim @@ -21,6 +21,7 @@ function! AddLocalSpellfile() abort \ ], '.') . '.add' setlocal spellfile< execute 'setlocal spellfile+=$MYVIM/cache/spell/local/'.spellfile + nnoremap <buffer> zG 2zg endfunction autocmd vimrc BufRead * - \ call AddLocalSpellfile() | nnoremap <buffer> zG 2zg + \ call AddLocalSpellFile() |