" ============================================================================ " 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 Im I'm ia TEh The ia Teh The ia abotu about ia acn can ia adn and ia agian again ia ahev have ia ahve have ia alos also ia alot a lot ia alse else ia alsot also ia amde made ia amke make ia amkes makes ia anbd and ia andd and ia andthe and the ia anf and ia ans and ia aslo also ia asthe as the ia atthe at the ia awya away ia aywa away ia bakc back ia baout about ia bcak back ia butthe but the ia bve be ia cant can't ia chaneg change ia chanegs changes ia chekc check ia chnage change ia claer clear ia cmo com ia cna can ia coudl could ia cpoy copy ia cxan can ia dael deal ia didnot did not ia didnt didn't ia diea idea ia doens does ia doese does ia doesnt doesn't ia doign doing ia doimg doing ia donig doing ia dont don't ia eahc each ia efel feel ia ehr her ia ened need ia enxt next ia esle else ia ew we ia eyar year ia eyt yet ia fatc fact ia fidn find ia fiel file ia firts first ia fo of ia fomr form ia fora for a ia forthe for the ia foudn found ia frmo from ia fro for ia frome from ia fromthe from the ia fwe few ia gerat great ia gievn given ia goign going ia gonig going ia gruop group ia grwo grow ia hadbeen had been ia haev have ia hasbeen has been ia havebeen have been ia hda had ia hewas he was ia hge he ia hlep help ia holf hold ia hsa has ia hsi his ia htat that ia hte the ia hten then 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 hvea have ia hwich which ia idae idea ia idaes ideas ia ihs his ia inot into 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 jstu just ia jsut just ia knwo know ia knwon known ia knwos knows ia konw know ia konwn known ia konws knows ia kwno know ia lastr last ia layed laid ia liek like ia liekd liked ia liev live ia likly likely ia liuke like ia loev love ia lsat last ia lveo love ia lvoe love ia mear mere ia mkae make ia mkaes makes ia mkea make ia moeny money ia mroe more ia mysefl myself ia myu my ia nad and ia nkow know ia nkwo know ia nmae name ia nowe now ia nto not 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 onot not ia onthe on the ia onyl only ia ot to ia otehr other ia otu out ia outof out of ia owrk work ia owuld would ia paide paid ia partof part of ia peice piece ia pwoer power ia rela real ia rulle rule ia rwite write ia saidthat said that ia saidthe said the ia sasy says ia seh she ia shesaid she said ia shoudl should ia sitll still ia smae same ia smoe some ia soem some ia sohw show ia stnad stand ia stpo stop ia syas says ia ta at ia tahn than ia taht that ia tath that ia teh the ia tehn then ia tehy they ia tghe the ia tghis this ia thansk thanks ia thast that ia thats that's 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 thign thing ia thme them ia thn then ia thna than ia thne then ia thnig thing ia thre there ia thsi this ia thsoe those ia thta that ia thyat that ia thye they ia ti it ia tiem time ia tihs this ia timne time ia tiome time ia tje the ia tjhe the ia tkae take ia tkaes takes ia tkaing taking ia todya today ia toke took ia tothe to the ia towrad toward ia tpyo typo ia tryed tried ia tthe the ia ture true ia twpo two ia tyhat that ia tyhe the ia tyhe they ia uise use ia useing using ia vell well ia veyr very ia vrey very ia waht what ia wass was ia watn want ia weas was ia wehn when ia werre were ia whant want ia whcih which ia wherre where ia whic which ia whihc which ia whith with ia whn when ia whta what ia wih with ia wihch which ia wiht with ia willbe will be ia wille will ia willk will ia witha with a ia withe with ia withh with ia witht with ia withthe with the ia witn with ia wiull will ia wnat want ia wnats wants ia woh who ia wohle whole ia wokr work ia woudl would ia wouldbe would be ia wrod word ia wroet wrote ia wrok work ia wtih with ia wuould would ia wya way ia yaer year ia yera year ia yoiu you ia youare you are ia youve you've ia yrea year ia ytou you ia yuo you ia yuor your " 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