diff options
Diffstat (limited to 'vim/plugin/spellfile_local.vim')
-rw-r--r-- | vim/plugin/spellfile_local.vim | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim deleted file mode 100644 index c026d626..00000000 --- a/vim/plugin/spellfile_local.vim +++ /dev/null @@ -1,19 +0,0 @@ -if exists('loaded_spellfile_local') - finish -endif -let loaded_spellfile_local = 1 - -let s:spellfile = join([ - \ substitute(v:lang, '_.*', '', ''), - \ &encoding - \ ], '.') . '.add' -Establish $MYVIM/cache/spell -execute 'set spellfile=$MYVIM/cache/spell/'.s:spellfile - -command! -bar AddLocalSpellFile - \ call spellfile_local#() - -augroup spellfile_local - autocmd BufNew,BufRead * - \ AddLocalSpellFile -augroup END |