" ============================================================================ " File: litecorrect.vim " Description: autoload functions for vim-litecorrect plugin " Maintainer: Reed Esau " Created: January 20, 2014 " License: The MIT License (MIT) " ============================================================================ scriptencoding utf-8 if exists("autoloaded_litecorrect") finish endif let autoloaded_litecorrect = 1 function! s:unicode_enabled() return &encoding == 'utf-8' endfunction function! litecorrect#init(...) ia TEh The ia Teh The ia abotu about ia acn can ia adn and ia agian again ia ahppen happen ia ahve have ia alawys always ia allready already ia almots almost ia almsot almost ia alomst almost ia alot a lot ia alraedy already ia alreayd already ia alreday already ia alwasy always ia alwats always ia alway always ia alwyas always ia amde made ia amke make ia amkes makes ia andteh and the ia andthe and the ia anothe another ia arond around ia asthe as the ia atthe at the ia awya away ia aywa away ia bakc back ia baout about ia bcak back ia beacuse because ia becasue because ia becaus because ia becuase because ia becuse because ia befoer before ia betwen between ia butthe but the ia bve be ia chaneg change ia chanegs changes ia chekc check ia chnage change ia claer clear ia claerly clearly ia cna can ia comming coming ia comntain contain ia comntains contains ia comtain contain ia comtains contains ia coudl could ia couldthe could the ia cpoy copy ia deatils details ia didnot did not ia doese does ia doign doing ia doimg doing ia donid doing ia donig doing ia efel feel ia ehr her ia esle else ia eyt yet ia fianlly finally ia fidn find ia firts first ia fo of ia follwo follow ia fora for a ia forthe for the ia foudn found ia frmo from ia fro for ia fromthe from the ia fwe few ia gerat great ia gievn given ia goign going ia gonig going ia gruop group ia gruops groups ia grwo grow ia hadbeen had been ia haev have ia hasbeen has been ia havebeen have been ia haveing having ia hda had ia hewas he was ia hge he ia hlep help ia hsa has ia hsi his ia htat that ia hte the ia htere there ia htese these ia htey they ia hting thing ia htink think ia htis this ia hvae have ia hvaing having ia hwich which ia i I ia idae idea ia idaes ideas ia ihs his ia includ include ia insted instead ia inteh in the ia inthe in the ia inwhich in which ia isthe is the ia itis it is ia itwas it was ia iused used ia iwll will ia iwth with ia jsut just ia knwo know ia knwon known ia knwos knows ia konw know ia konwn known ia konws knows ia lenght length ia liek like ia liekd liked ia liev live ia likly likely ia littel little ia litttle little ia liuke like ia loev love ia lookign looking ia makeing making ia mkaes makes ia mkaing making ia moeny money ia mroe more ia mysefl myself ia myu my ia nkow know ia nothign nothing ia nver never ia nwe new ia nwo now ia ocur occur ia ofits of its ia ofthe of the ia oging going ia ohter other ia omre more ia oneof one of ia onthe on the ia onyl only ia otehr other ia otu out ia outof out of ia overthe over the ia owrk work ia owuld would ia partof part of ia peice piece ia peolpe people ia peopel people ia perhasp perhaps ia perhpas perhaps ia poeple people ia pwoer power ia realyl really ia reult result ia reveiw review ia rwite write ia saidthat said that ia saidthe said the ia seh she ia shesaid she said ia shoudl should ia showinf showing ia simalar similar ia similiar similar ia sitll still ia smae same ia smoe some ia soem some ia sohw show ia soical social ia somethign something ia someting something ia somewaht somewhat ia somthing something ia somtimes sometimes ia stnad stand ia stpo stop ia tahn than ia taht that ia talekd talked ia talkign talking ia tath that ia teh the ia tehn then ia tehy they ia tghe the ia tghis this ia thansk thanks ia thatthe that the ia thenew the new ia theri their ia thesame the same ia thgat that ia thge the ia thier their ia thigsn things ia thme them ia thna than ia thne then ia thnig thing ia thnigs things ia thsi this ia thsoe those ia thta that ia tihs this ia timne time ia tje the ia tjhe the ia tkae take ia tkaes takes ia tkaing taking ia ot to ia todya today ia tothe to the ia towrad toward ia tryed tried ia tthe the ia tyhat that ia tyhe the ia unliek unlike ia useing using ia usualyl usually ia veyr very ia vrey very ia waht what ia watn want ia wehn what ia werre were ia whcih which ia wherre where ia whic which ia whihc which ia whta what ia wihch which ia wiht with ia willbe will be ia witha with a ia withe with ia withthe with the ia wiull will ia wnat want ia wnated wanted ia wnats wants ia woh who ia wohle whole ia wokr work ia woudl would ia wouldbe would be ia writting writing ia wrod word ia wroet wrote ia wtih with ia wuould would ia wya way ia yera year ia yeras years ia yersa years ia yoiu you ia youare you are ia ytou you ia yuo you ia yuor your if s:unicode_enabled() ia Im I’m ia couldnt couldn’t ia didnt didn’t ia doesnt doesn’t ia dont don’t ia hasnt hasn’t ia shouldnt shouldn’t ia thats that’s ia theyll they’ll ia theyve they’ve ia wasnt wasn’t ia wouldnt wouldn’t ia youve you’ve else ia Im I'm ia couldnt couldn't ia didnt didn't ia doesnt doesn't ia dont don't ia hasnt hasn't ia shouldnt shouldn't ia thats that's ia theyll they'll ia theyve they've ia wasnt wasn't ia wouldnt wouldn't ia youve you've endif " user overrides let l:user_dict = a:0 ? a:1 : {} for l:item in items(l:user_dict) let l:fixed = l:item[0] for l:subitem in l:item[1] execute 'ia ' . l:subitem . ' ' . l:fixed endfor endfor endfunction