Commit 4c2b52f0 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove SpellFt* functions in VIm spell plugin

parent 3daeabbb
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -50,14 +50,9 @@ function s:complete(cur, cmd, pos)
endfunction


command -nargs=1 SpellFtGood  :call s:manage_ft_word("spellgood", <args>)
command -nargs=1 SpellFtWrong :call s:manage_ft_word("spellwrong", <args>)
command -nargs=1 SpellFtUndo  :call s:manage_ft_word("spellundo", <args>)

nnoremap <silent> zLg :SpellFtGood  "<cword>"<CR>
nnoremap <silent> zLw :SpellFtWrong "<cword>"<CR>
nnoremap <silent> zLu :SpellFtUndo  "<cword>"<CR>

nnoremap <silent> zLg :call <SID>manage_ft_word("spellgood",  "<cword>")<CR>
nnoremap <silent> zLw :call <SID>manage_ft_word("spellwrong", "<cword>")<CR>
nnoremap <silent> zLu :call <SID>manage_ft_word("spellundo",  "<cword>")<CR>

command -nargs=+ -complete=customlist,s:complete SpellGood  :call s:manage_classified_word("spellgood", <f-args>)
command -nargs=+ -complete=customlist,s:complete SpellWrong :call s:manage_classified_word("spellgood", <f-args>)