Wednesday, January 13, 2016

Re: Make vim use hunspell?

Metal Heart <astrid@jekat.com> 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),
> - or making vim use the external huspell spellchecker (instead of its internal one)?
>
> 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 remember seeing a patch to support Hunspell in Vim here:

https://bugzilla.redhat.com/show_bug.cgi?id=219777
http://vim.1045645.n5.nabble.com/RFC-use-hunspell-dictionaries-td1201639.html

But it's an old patch, and it was deemed "crude".

James Vega also suggested to use Enchant library instead of Hunspell
a long time ago, which would allow vim to support Hunspell and other
dictionary formats. See:

http://permalink.gmane.org/gmane.editors.vim.devel/30006
http://www.abisource.com/projects/enchant/

I also miss not being to use Hunspell. The vim dictionary for
French uses an old aspell dictionary. More recent French
dictionaries use Hunspell which use features not understood
by Vim.

Regards
Dominique

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment