aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/spellfile_local.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload/spellfile_local.vim')
-rw-r--r--vim/autoload/spellfile_local.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/vim/autoload/spellfile_local.vim b/vim/autoload/spellfile_local.vim
deleted file mode 100644
index aafe64ef..00000000
--- a/vim/autoload/spellfile_local.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-function! spellfile_local#() abort
- let spellfile = join([
- \ substitute(expand('%:p'), '[^0-9A-Za-z_.-]', '%', 'g'),
- \ substitute(v:lang, '_.*', '', ''),
- \ &encoding
- \ ], '.') . '.add'
- Establish $MYVIM/cache/spell/local
- execute 'setlocal spellfile+=$MYVIM/cache/spell/local/'.spellfile
- nnoremap <buffer> zG 2zg
- xnoremap <buffer> zG 2zg
-endfunction