diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-11 09:50:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-11 09:50:54 +1200 |
commit | d280a6d093cddeeb3c36cd9af7080cde85797a04 (patch) | |
tree | aeac6afd39e5afb0957ff5cf19a1e2df5b2e075f | |
parent | Move spellfile local mapping into function (diff) | |
download | dotfiles-d280a6d093cddeeb3c36cd9af7080cde85797a04.tar.gz dotfiles-d280a6d093cddeeb3c36cd9af7080cde85797a04.zip |
Factor our :AddLocalSpellFile command
-rw-r--r-- | vim/plugin/spellfile_local.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim index 6e04babf..b5db4518 100644 --- a/vim/plugin/spellfile_local.vim +++ b/vim/plugin/spellfile_local.vim @@ -24,4 +24,6 @@ function! AddLocalSpellfile() abort nnoremap <buffer> zG 2zg endfunction autocmd vimrc BufRead * + +command! AddLocalSpellFile \ call AddLocalSpellFile() |