aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/spellfile_local.vim
blob: f6918bfbeaf379b11fd65d6aece5aa2e22f73894 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
if exists('loaded_spellfile_local') || &compatible
  finish
endif
let loaded_spellfile_local = 1

command! -bar SetLocalSpellFiles
      \ call spellfile_local#()

augroup spellfile_local
  autocmd BufNew,BufRead *
        \ SetLocalSpellFiles
augroup END