diff --git a/README.markdown b/README.markdown index e9fd90d..7850156 100644 --- a/README.markdown +++ b/README.markdown @@ -10,7 +10,7 @@ Features of this plugin: * Focused on the most common of typos * Pure Vimscript where mechanism is `iabbrev` -* Limited to a maximum of 350 default entries for quick load (now near that limit) +* Included entries limited to a maximum of 300 for fast loading * Buffer-scoped behavior Note that this plugin is not intended to be a replacement for teh spell @@ -64,16 +64,13 @@ where the value is a list of the common misspellings for the key. The corrections you provide will be in addition to the defaults. Where there’s a conflict, your correction will prevail. -## Criteria to add to defaults +## Criteria to modify defaults -Suggestions for adding to the defaults are welcome, but good evidence is -needed that they are common typos. +Note that the number of default entries will be limited to 300 for fast +loading. -Short words are preferable to long words to avoid the list becoming too -large and slow to load. - -Note that existing entries may be removed to make way for new ones, to -keep within the stated limit. +Suggestions for improving the defaults are welcome, but good evidence is +needed that a suggested typo is more common than one we will drop. ## Related projects diff --git a/autoload/litecorrect.vim b/autoload/litecorrect.vim index 4f9dfc6..0302fc8 100644 --- a/autoload/litecorrect.vim +++ b/autoload/litecorrect.vim @@ -20,15 +20,9 @@ endfunction function! litecorrect#init(...) ia TEh The ia Teh The - ia abbout about ia abotu about - ia abouta about a - ia aboutit about it - ia aboutthe about the ia acn can ia adn and - ia afterthe after the - ia aganist against ia agian again ia ahppen happen ia ahve have @@ -48,11 +42,9 @@ function! litecorrect#init(...) ia amde made ia amke make ia amkes makes - ia andone and one ia andteh and the ia andthe and the ia anothe another - ia appeares appears ia arond around ia asthe as the ia atthe at the @@ -64,10 +56,6 @@ function! litecorrect#init(...) ia beacuse because ia becasue because ia becaus because - ia becausea because a - ia becauseof because of - ia becausethe because the - ia becauseyou because you ia becuase because ia becuse because ia befoer before @@ -76,11 +64,9 @@ function! litecorrect#init(...) ia bve be ia chaneg change ia chanegs changes - ia cheif chief ia chekc check ia chnage change ia claer clear - ia claered cleared ia claerly clearly ia cna can ia comming coming @@ -91,7 +77,6 @@ function! litecorrect#init(...) ia coudl could ia couldthe could the ia cpoy copy - ia cxan can ia deatils details ia didnot did not ia doese does @@ -99,16 +84,12 @@ function! litecorrect#init(...) ia doimg doing ia donid doing ia donig doing - ia drnik drink ia efel feel ia ehr her ia esle else ia eyt yet - ia feild field - ia feilds fields ia fianlly finally ia fidn find - ia finalyl finally ia firts first ia fo of ia follwo follow @@ -119,7 +100,6 @@ function! litecorrect#init(...) ia fro for ia fromthe from the ia fwe few - ia gaurd guard ia gerat great ia gievn given ia goign going @@ -135,7 +115,6 @@ function! litecorrect#init(...) ia hda had ia hewas he was ia hge he - ia hismelf himself ia hlep help ia hsa has ia hsi his @@ -147,7 +126,6 @@ function! litecorrect#init(...) ia hting thing ia htink think ia htis this - ia httpL http: ia hvae have ia hvaing having ia hwich which @@ -173,7 +151,6 @@ function! litecorrect#init(...) ia konw know ia konwn known ia konws knows - ia lastyear last year ia lenght length ia liek like ia liekd liked @@ -189,7 +166,6 @@ function! litecorrect#init(...) ia mkaing making ia moeny money ia mroe more - ia myfles myself ia mysefl myself ia myu my ia nkow know @@ -206,8 +182,6 @@ function! litecorrect#init(...) ia oneof one of ia onthe on the ia onyl only - ia optoin option - ia optoins options ia otehr other ia otu out ia outof out of @@ -216,7 +190,6 @@ function! litecorrect#init(...) ia owuld would ia partof part of ia peice piece - ia peices pieces ia peolpe people ia peopel people ia perhasp perhaps @@ -227,8 +200,6 @@ function! litecorrect#init(...) ia reult result ia reveiw review ia rwite write - ia saidhe said he - ia saidit said it ia saidthat said that ia saidthe said the ia seh she @@ -237,7 +208,6 @@ function! litecorrect#init(...) ia showinf showing ia simalar similar ia similiar similar - ia simpyl simply ia sitll still ia smae same ia smoe some @@ -249,13 +219,8 @@ function! litecorrect#init(...) ia somewaht somewhat ia somthing something ia somtimes sometimes - ia soudn sound - ia soudns sounds ia stnad stand - ia stopry story - ia stoyr story ia stpo stop - ia stroy story ia tahn than ia taht that ia talekd talked @@ -268,18 +233,13 @@ function! litecorrect#init(...) ia tghis this ia thansk thanks ia thatthe that the - ia thefirst the first - ia themself themselves - ia themselfs themselves ia thenew the new ia theri their ia thesame the same - ia thetwo the two ia thgat that ia thge the ia thier their ia thigsn things - ia thisyear this year ia thme them ia thna than ia thne then @@ -290,26 +250,20 @@ function! litecorrect#init(...) ia thta that ia tihs this ia timne time - ia tiogether together ia tje the ia tjhe the ia tkae take ia tkaes takes ia tkaing taking - ia tlaking talking ia ot to ia todya today - ia togehter together ia tothe to the ia towrad toward - ia truely truly - ia truley truly ia tryed tried ia tthe the ia tyhat that ia tyhe the ia unliek unlike - ia untilll until ia useing using ia usualyl usually ia veyr very @@ -356,12 +310,10 @@ function! litecorrect#init(...) if s:unicode_enabled() ia couldnt couldn’t - ia didint didn’t ia didnt didn’t ia doesnt doesn’t ia dont don’t ia hasnt hasn’t - ia shouldent shouldn’t ia shouldnt shouldn’t ia thats that’s ia theyll they’ll @@ -371,12 +323,10 @@ function! litecorrect#init(...) ia youve you’ve else ia couldnt couldn't - ia didint didn't ia didnt didn't ia doesnt doesn't ia dont don't ia hasnt hasn't - ia shouldent shouldn't ia shouldnt shouldn't ia thats that's ia theyll they'll