vim7 spell checking & dictionaries available in Debian

Stefano Zacchiroli zack at debian.org
Tue Mar 28 18:18:37 UTC 2006


I just committed vim7/debian/spell/mkvimspell.sh. It's a bash script
which can be used to generate vim7 spell files out of MySpell
dictionaries (available in Debian in the "myspell-XX" packages) for a
given encoding.

So the question now is: what to do in Debian for vim spell files?
Providing packages including all pregenerated spell files is not
feasible since there should be one for any given language in any
possible vim encoding.

Random toughts on that follow.

1) We can think at providing packages for spell files in utf8 (probably
useful, but it seems to me rather arbitrary).

2) Alternatively we can just provide mkvimspell.sh and document its
usage for sysadms, since it can be used to generate spell files for all
available dictionaries.

3) A third way may be to hook into vim's code. Right now, when a
dictionary is not available an attempt to download it from the network
is made (storing it in user's home I suppose). We can hook there and
invoke mkvimspell.sh with some setgid magic so that once generated the
spell file is available for all system users instead of for only the
user who generated it.

Mumble mumble ...

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-



More information about the pkg-vim-maintainers mailing list