annotate runtime/spell/main.aap @ 2069:63613d8d7e4d v7.2.354

updated for version 7.2.354 Problem: Japanese single-width double-byte characters not handled correctly. Solution: Put 0x8e in ScreenLines[] and the second byte in ScreenLines2[]. (partly by Kikuchan)
author Bram Moolenaar <bram@zimbu.org>
date Wed, 03 Feb 2010 15:48:04 +0100
parents 9032e4668296
children b9e314fe473f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
1 # Toplevel Aap recipe for Vim spell files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
2 #
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
3 # Usage:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
4 # aap generate all the .spl files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
5 # aap diff create all the diff files
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
6
648
9032e4668296 updated for version 7.0189
vimboss
parents: 502
diff changeset
7 # "hu" is at the end, because it takes a very long time.
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 500
diff changeset
8 LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 500
diff changeset
9 la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 500
diff changeset
10 tet th tl tn uk yi zu hu
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
11
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
12 # TODO:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
13 # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
14
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
15 diff: $*LANG/diff
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
16 :print Done.
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
17
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
18 @for l in string.split(_no.LANG):
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
19 :child $l/main.aap
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
20
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
21 # The existing .spl files need to be generated when the spell file format
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
22 # changes. Depending on the Vim executable does that, but results in doing it
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
23 # much too often. Generate a dummy .spl file and let the .spl depend on it, so
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
24 # that they are outdated when it changes.
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
25 :child check/main.aap
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
26 *.spl: check/check.latin1.spl