further reduced limit to 300

This commit is contained in:
Reed Esau
2014-01-20 23:45:29 -07:00
parent 39a40c0c23
commit cde436d428
2 changed files with 6 additions and 59 deletions

View File

@@ -10,7 +10,7 @@ Features of this plugin:
* Focused on the most common of typos * Focused on the most common of typos
* Pure Vimscript where mechanism is `iabbrev` * 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 * Buffer-scoped behavior
Note that this plugin is not intended to be a replacement for teh spell 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 The corrections you provide will be in addition to the defaults. Where
theres a conflict, your correction will prevail. theres 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 Note that the number of default entries will be limited to 300 for fast
needed that they are common typos. loading.
Short words are preferable to long words to avoid the list becoming too Suggestions for improving the defaults are welcome, but good evidence is
large and slow to load. needed that a suggested typo is more common than one we will drop.
Note that existing entries may be removed to make way for new ones, to
keep within the stated limit.
## Related projects ## Related projects

View File

@@ -20,15 +20,9 @@ endfunction
function! litecorrect#init(...) function! litecorrect#init(...)
ia <buffer> TEh The ia <buffer> TEh The
ia <buffer> Teh The ia <buffer> Teh The
ia <buffer> abbout about
ia <buffer> abotu about ia <buffer> abotu about
ia <buffer> abouta about a
ia <buffer> aboutit about it
ia <buffer> aboutthe about the
ia <buffer> acn can ia <buffer> acn can
ia <buffer> adn and ia <buffer> adn and
ia <buffer> afterthe after the
ia <buffer> aganist against
ia <buffer> agian again ia <buffer> agian again
ia <buffer> ahppen happen ia <buffer> ahppen happen
ia <buffer> ahve have ia <buffer> ahve have
@@ -48,11 +42,9 @@ function! litecorrect#init(...)
ia <buffer> amde made ia <buffer> amde made
ia <buffer> amke make ia <buffer> amke make
ia <buffer> amkes makes ia <buffer> amkes makes
ia <buffer> andone and one
ia <buffer> andteh and the ia <buffer> andteh and the
ia <buffer> andthe and the ia <buffer> andthe and the
ia <buffer> anothe another ia <buffer> anothe another
ia <buffer> appeares appears
ia <buffer> arond around ia <buffer> arond around
ia <buffer> asthe as the ia <buffer> asthe as the
ia <buffer> atthe at the ia <buffer> atthe at the
@@ -64,10 +56,6 @@ function! litecorrect#init(...)
ia <buffer> beacuse because ia <buffer> beacuse because
ia <buffer> becasue because ia <buffer> becasue because
ia <buffer> becaus because ia <buffer> becaus because
ia <buffer> becausea because a
ia <buffer> becauseof because of
ia <buffer> becausethe because the
ia <buffer> becauseyou because you
ia <buffer> becuase because ia <buffer> becuase because
ia <buffer> becuse because ia <buffer> becuse because
ia <buffer> befoer before ia <buffer> befoer before
@@ -76,11 +64,9 @@ function! litecorrect#init(...)
ia <buffer> bve be ia <buffer> bve be
ia <buffer> chaneg change ia <buffer> chaneg change
ia <buffer> chanegs changes ia <buffer> chanegs changes
ia <buffer> cheif chief
ia <buffer> chekc check ia <buffer> chekc check
ia <buffer> chnage change ia <buffer> chnage change
ia <buffer> claer clear ia <buffer> claer clear
ia <buffer> claered cleared
ia <buffer> claerly clearly ia <buffer> claerly clearly
ia <buffer> cna can ia <buffer> cna can
ia <buffer> comming coming ia <buffer> comming coming
@@ -91,7 +77,6 @@ function! litecorrect#init(...)
ia <buffer> coudl could ia <buffer> coudl could
ia <buffer> couldthe could the ia <buffer> couldthe could the
ia <buffer> cpoy copy ia <buffer> cpoy copy
ia <buffer> cxan can
ia <buffer> deatils details ia <buffer> deatils details
ia <buffer> didnot did not ia <buffer> didnot did not
ia <buffer> doese does ia <buffer> doese does
@@ -99,16 +84,12 @@ function! litecorrect#init(...)
ia <buffer> doimg doing ia <buffer> doimg doing
ia <buffer> donid doing ia <buffer> donid doing
ia <buffer> donig doing ia <buffer> donig doing
ia <buffer> drnik drink
ia <buffer> efel feel ia <buffer> efel feel
ia <buffer> ehr her ia <buffer> ehr her
ia <buffer> esle else ia <buffer> esle else
ia <buffer> eyt yet ia <buffer> eyt yet
ia <buffer> feild field
ia <buffer> feilds fields
ia <buffer> fianlly finally ia <buffer> fianlly finally
ia <buffer> fidn find ia <buffer> fidn find
ia <buffer> finalyl finally
ia <buffer> firts first ia <buffer> firts first
ia <buffer> fo of ia <buffer> fo of
ia <buffer> follwo follow ia <buffer> follwo follow
@@ -119,7 +100,6 @@ function! litecorrect#init(...)
ia <buffer> fro for ia <buffer> fro for
ia <buffer> fromthe from the ia <buffer> fromthe from the
ia <buffer> fwe few ia <buffer> fwe few
ia <buffer> gaurd guard
ia <buffer> gerat great ia <buffer> gerat great
ia <buffer> gievn given ia <buffer> gievn given
ia <buffer> goign going ia <buffer> goign going
@@ -135,7 +115,6 @@ function! litecorrect#init(...)
ia <buffer> hda had ia <buffer> hda had
ia <buffer> hewas he was ia <buffer> hewas he was
ia <buffer> hge he ia <buffer> hge he
ia <buffer> hismelf himself
ia <buffer> hlep help ia <buffer> hlep help
ia <buffer> hsa has ia <buffer> hsa has
ia <buffer> hsi his ia <buffer> hsi his
@@ -147,7 +126,6 @@ function! litecorrect#init(...)
ia <buffer> hting thing ia <buffer> hting thing
ia <buffer> htink think ia <buffer> htink think
ia <buffer> htis this ia <buffer> htis this
ia <buffer> httpL http:
ia <buffer> hvae have ia <buffer> hvae have
ia <buffer> hvaing having ia <buffer> hvaing having
ia <buffer> hwich which ia <buffer> hwich which
@@ -173,7 +151,6 @@ function! litecorrect#init(...)
ia <buffer> konw know ia <buffer> konw know
ia <buffer> konwn known ia <buffer> konwn known
ia <buffer> konws knows ia <buffer> konws knows
ia <buffer> lastyear last year
ia <buffer> lenght length ia <buffer> lenght length
ia <buffer> liek like ia <buffer> liek like
ia <buffer> liekd liked ia <buffer> liekd liked
@@ -189,7 +166,6 @@ function! litecorrect#init(...)
ia <buffer> mkaing making ia <buffer> mkaing making
ia <buffer> moeny money ia <buffer> moeny money
ia <buffer> mroe more ia <buffer> mroe more
ia <buffer> myfles myself
ia <buffer> mysefl myself ia <buffer> mysefl myself
ia <buffer> myu my ia <buffer> myu my
ia <buffer> nkow know ia <buffer> nkow know
@@ -206,8 +182,6 @@ function! litecorrect#init(...)
ia <buffer> oneof one of ia <buffer> oneof one of
ia <buffer> onthe on the ia <buffer> onthe on the
ia <buffer> onyl only ia <buffer> onyl only
ia <buffer> optoin option
ia <buffer> optoins options
ia <buffer> otehr other ia <buffer> otehr other
ia <buffer> otu out ia <buffer> otu out
ia <buffer> outof out of ia <buffer> outof out of
@@ -216,7 +190,6 @@ function! litecorrect#init(...)
ia <buffer> owuld would ia <buffer> owuld would
ia <buffer> partof part of ia <buffer> partof part of
ia <buffer> peice piece ia <buffer> peice piece
ia <buffer> peices pieces
ia <buffer> peolpe people ia <buffer> peolpe people
ia <buffer> peopel people ia <buffer> peopel people
ia <buffer> perhasp perhaps ia <buffer> perhasp perhaps
@@ -227,8 +200,6 @@ function! litecorrect#init(...)
ia <buffer> reult result ia <buffer> reult result
ia <buffer> reveiw review ia <buffer> reveiw review
ia <buffer> rwite write ia <buffer> rwite write
ia <buffer> saidhe said he
ia <buffer> saidit said it
ia <buffer> saidthat said that ia <buffer> saidthat said that
ia <buffer> saidthe said the ia <buffer> saidthe said the
ia <buffer> seh she ia <buffer> seh she
@@ -237,7 +208,6 @@ function! litecorrect#init(...)
ia <buffer> showinf showing ia <buffer> showinf showing
ia <buffer> simalar similar ia <buffer> simalar similar
ia <buffer> similiar similar ia <buffer> similiar similar
ia <buffer> simpyl simply
ia <buffer> sitll still ia <buffer> sitll still
ia <buffer> smae same ia <buffer> smae same
ia <buffer> smoe some ia <buffer> smoe some
@@ -249,13 +219,8 @@ function! litecorrect#init(...)
ia <buffer> somewaht somewhat ia <buffer> somewaht somewhat
ia <buffer> somthing something ia <buffer> somthing something
ia <buffer> somtimes sometimes ia <buffer> somtimes sometimes
ia <buffer> soudn sound
ia <buffer> soudns sounds
ia <buffer> stnad stand ia <buffer> stnad stand
ia <buffer> stopry story
ia <buffer> stoyr story
ia <buffer> stpo stop ia <buffer> stpo stop
ia <buffer> stroy story
ia <buffer> tahn than ia <buffer> tahn than
ia <buffer> taht that ia <buffer> taht that
ia <buffer> talekd talked ia <buffer> talekd talked
@@ -268,18 +233,13 @@ function! litecorrect#init(...)
ia <buffer> tghis this ia <buffer> tghis this
ia <buffer> thansk thanks ia <buffer> thansk thanks
ia <buffer> thatthe that the ia <buffer> thatthe that the
ia <buffer> thefirst the first
ia <buffer> themself themselves
ia <buffer> themselfs themselves
ia <buffer> thenew the new ia <buffer> thenew the new
ia <buffer> theri their ia <buffer> theri their
ia <buffer> thesame the same ia <buffer> thesame the same
ia <buffer> thetwo the two
ia <buffer> thgat that ia <buffer> thgat that
ia <buffer> thge the ia <buffer> thge the
ia <buffer> thier their ia <buffer> thier their
ia <buffer> thigsn things ia <buffer> thigsn things
ia <buffer> thisyear this year
ia <buffer> thme them ia <buffer> thme them
ia <buffer> thna than ia <buffer> thna than
ia <buffer> thne then ia <buffer> thne then
@@ -290,26 +250,20 @@ function! litecorrect#init(...)
ia <buffer> thta that ia <buffer> thta that
ia <buffer> tihs this ia <buffer> tihs this
ia <buffer> timne time ia <buffer> timne time
ia <buffer> tiogether together
ia <buffer> tje the ia <buffer> tje the
ia <buffer> tjhe the ia <buffer> tjhe the
ia <buffer> tkae take ia <buffer> tkae take
ia <buffer> tkaes takes ia <buffer> tkaes takes
ia <buffer> tkaing taking ia <buffer> tkaing taking
ia <buffer> tlaking talking
ia <buffer> ot to ia <buffer> ot to
ia <buffer> todya today ia <buffer> todya today
ia <buffer> togehter together
ia <buffer> tothe to the ia <buffer> tothe to the
ia <buffer> towrad toward ia <buffer> towrad toward
ia <buffer> truely truly
ia <buffer> truley truly
ia <buffer> tryed tried ia <buffer> tryed tried
ia <buffer> tthe the ia <buffer> tthe the
ia <buffer> tyhat that ia <buffer> tyhat that
ia <buffer> tyhe the ia <buffer> tyhe the
ia <buffer> unliek unlike ia <buffer> unliek unlike
ia <buffer> untilll until
ia <buffer> useing using ia <buffer> useing using
ia <buffer> usualyl usually ia <buffer> usualyl usually
ia <buffer> veyr very ia <buffer> veyr very
@@ -356,12 +310,10 @@ function! litecorrect#init(...)
if s:unicode_enabled() if s:unicode_enabled()
ia <buffer> couldnt couldnt ia <buffer> couldnt couldnt
ia <buffer> didint didnt
ia <buffer> didnt didnt ia <buffer> didnt didnt
ia <buffer> doesnt doesnt ia <buffer> doesnt doesnt
ia <buffer> dont dont ia <buffer> dont dont
ia <buffer> hasnt hasnt ia <buffer> hasnt hasnt
ia <buffer> shouldent shouldnt
ia <buffer> shouldnt shouldnt ia <buffer> shouldnt shouldnt
ia <buffer> thats thats ia <buffer> thats thats
ia <buffer> theyll theyll ia <buffer> theyll theyll
@@ -371,12 +323,10 @@ function! litecorrect#init(...)
ia <buffer> youve youve ia <buffer> youve youve
else else
ia <buffer> couldnt couldn't ia <buffer> couldnt couldn't
ia <buffer> didint didn't
ia <buffer> didnt didn't ia <buffer> didnt didn't
ia <buffer> doesnt doesn't ia <buffer> doesnt doesn't
ia <buffer> dont don't ia <buffer> dont don't
ia <buffer> hasnt hasn't ia <buffer> hasnt hasn't
ia <buffer> shouldent shouldn't
ia <buffer> shouldnt shouldn't ia <buffer> shouldnt shouldn't
ia <buffer> thats that's ia <buffer> thats that's
ia <buffer> theyll they'll ia <buffer> theyll they'll