summaryrefslogtreecommitdiff
path: root/src/testdir/test58.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-21 22:20:28 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-21 22:20:28 +0000
commitd52d9741ee3770678b1cf6ebc748896a64f3e2ed (patch)
tree704b6980193669fbaef8fa2b8d1a03118e4c1966 /src/testdir/test58.in
parent90915b5d4894da281ad03e902b3e6699ad60aad1 (diff)
downloadvim-d52d9741ee3770678b1cf6ebc748896a64f3e2ed.zip
updated for version 7.0133
Diffstat (limited to 'src/testdir/test58.in')
-rw-r--r--src/testdir/test58.in86
1 files changed, 85 insertions, 1 deletions
diff --git a/src/testdir/test58.in b/src/testdir/test58.in
index e05326137..1beb45736 100644
--- a/src/testdir/test58.in
+++ b/src/testdir/test58.in
@@ -105,12 +105,31 @@ gg:/^affstart3/+1,/^affend3/-1w! Xtest.aff
:mkspell! Xtest Xtest
:set spellfile=
:set spl=Xtest.latin1.spl
-:mess
:spelldump
1GyG:q
:$put
:call SpellTest()
:"
+:" Compounding
+gg:/^compaffstart/+1,/^compaffend/-1w! Xtest.aff
+gg:/^compdicstart/+1,/^compdicend/-1w! Xtest.dic
+:mkspell! Xtest Xtest
+:set spellfile=
+:set spl=Xtest.latin1.spl
+:spelldump
+1GyG:q
+:$put
+/^comptest:
+:for i in range(12)
+normal ]smm
+let str = spellbadword()
+$put =str
+normal `m
+let lst = spellsuggest(str, 3)
+$put =string(lst)
+normal `m
+endfor
+:"
gg:/^test output:/,$wq! test.out
ENDTEST
@@ -384,6 +403,61 @@ deol
déôr
dicend
+compaffstart
+SET ISO8859-1
+
+FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
+LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
+UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
+
+COMPOUNDFLAGS m+
+COMPOUNDFLAGS sm*e
+COMPOUNDFLAGS sm+
+COMPOUNDMIN 3
+COMPOUNDMAX 3
+
+COMPOUNDSYLMAX 5
+SYLLABLE aáeéiíoóöõuúüûy/aa/au/ea/ee/ei/ie/oa/oe/oo/ou/uu/ui
+
+MAP 9
+MAP aàáâãäå
+MAP eèéêë
+MAP iìíîï
+MAP oòóôõö
+MAP uùúûü
+MAP nñ
+MAP cç
+MAP yÿý
+MAP sß
+
+NEEDAFFIX x
+
+PFXPOSTPONE
+
+MIDWORD '-
+
+SFX q N 1
+SFX q 0 -ok .
+
+SFX a Y 2
+SFX a 0 s .
+SFX a 0 ize . nocomp
+
+PFX p N 1
+PFX p 0 pre .
+compaffend
+
+compdicstart
+1234
+word/m
+util/am
+pro/xq
+tomato/m
+bork/mp
+start/s
+end/e
+compdicend
+
addstart
/regions=usgbnz
elequint/2
@@ -402,5 +476,15 @@ déôl
test2:
elequint test elekwint test elekwent asdf
+comptest:
+word util
+wordutil wordutils wordutilize
+pro pro-ok
+bork borkbork borkborkbork borkborkborkbork borkborkborkborkbork
+tomato tomatotomato tomatotomatotomato
+startend endstart endend startstart
+startword startwordword wordstart startwordend startwordwordend
+prebork preborkprebork preborkborkprebork preborkpreborkbork
+borkpreborkpreborkbork
test output: