Metal Heart wrote:
> Hi users and experts,
>
> I am aware vim has it's own spellchecker, and uses .spl files that can
> be generated by mkspell from hunspell dictionary files.
>
> Here's the thing - I am trying to use same spellchecking files for
> vim, Libreoffice, and OmegaT (an opensource translation memory
> system), as I don't want to maintain two sets of dictionaries.
>
> Libreoffice and OmegaT support hunspell dictionaries only.
>
> Is there any chance of either:
> - getting vim to read and write hunspell dictionaries (IIRC vim
> doesn't completely support the format),
Vim originally had the goal to support the same file format.
Unfortunately the hunspell developers went ahead and implemented some
weird features, partly including language-specific things in the source
code. And quite a few of the flags are not properly documented, making
it very difficult to follow their file format. It requires reverse
engineering their code.
> - or making vim use the external huspell spellchecker (instead of its
> internal one)?
That would be too slow. Also, the suggestions from Vim are far
superiour (last time I checked, which is quite a while ago).
> I would greatly appreciate any pointers. A systemwide spellchecker
> would be so useful, especially as I want several colleagues to all use
> and modify the same directories. It would improve our writing! :-)
I would invite anyone to work on this.
--
"I've been teaching myself to play the piano for about 5 years and now write
most of my songs on it, mainly because I can never find any paper."
Jeff Lynne, ELO's greatest hits
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///