forked from acornejo/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc.spell
28 lines (21 loc) · 1.61 KB
/
vimrc.spell
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
if !has_key(g:plugs, 'vim-abolish')
finish
endif
function! s:ConfigAbolish()
" our -> or
Abolish {col,behavi,fav,flav,hon,neighb,rum,lab}our{,s,ed,less,able,ing} {}or{}
" re -> er
Abolish {cent,met,kilomet,lit,lust,mit,nit,goit,reconnoit,saltpet,spect,theat,tit}re{,s} {}er{}
" ce -> se
Abolish {defen,offen,preten}ce {}se
" is -> iz
Abolish {actual,aggrand,agon,alphabet,antagon,anthropomorph,aphor,apolog,arbor,author,autom,bapt,barbar,brutal,canon,capital,categor,cauter,character,civil,colon,color,compartmental,computer,conceptual,concret,criminal,critic,crystal,custom,demonet,departmental,desensit,destabil,digital,dogmat,dramat,econom,emphas,energ,eulog,euthan,extempor,external,factual,fantas,fertil,fibern,final,formal,fratern,galvan,general,global,harmon,hellen,homogen,hospital,human,hypothes,ideal,immobil,individual,institutional,internal,ion,legal,legitim,lion,material,memor,mesmer,method,moral,motor,national,natural,neutral,normal,notar,organ,ostrac,pagan,pasteur,patron,penal,personal,philosoph,plagiar,polar,popular,pressur,priorit,privat,proselyt,public,pulver,quant,random,rational,real,recogn,regional,satir,sensual,serial,social,special,stabil,standard,steril,stigmat,subsid,summar,symbol,synchron,synthes,terror,theor,total,tranquil,trivial,tyrann,universal,urban,util,vandal,vapor,vasectom,visual,vocal,weather,woman}is{e,ed,er,es,ation} {}iz{}
" ys -> yz
Abolish {anal,catal,hydrol,paral}ys{e,ed} {}yz{}
" single words
Abolish jewellery jewelry
Abolish fulfil fulfill
Abolish judgement judgment
Abolish sceptic{,al,ism} skeptic{,al,ism}
endfunction
au VimEnter * call s:ConfigAbolish()