arch-atom icon indicating copy to clipboard operation
arch-atom copied to clipboard

hunspell as optional dep

Open rumpelsepp opened this issue 7 years ago • 3 comments

When someone wants to use the spellchecking plugin, then hunspell-* must be installed. It makes sense for me to add those as optional deps.

rumpelsepp avatar Dec 08 '16 13:12 rumpelsepp

It's a good idea! Right now Atom looks for dictionaries in /usr/lib/atom/node_modules/spellchecker/vendor/hunspell_dictionaries (code here). I could make a patch and make it point at /usr/share/hunspell which is where Arch installs hunspell-* dictionaries.

tensor5 avatar Dec 08 '16 14:12 tensor5

Really? I installed the packages from the arch repos, which place the dicts in /usr/share/myspell/dicts/de_DE.dic, /usr/share/hunspell/de_DE.dic. Atom seems to find them.

rumpelsepp avatar Dec 08 '16 16:12 rumpelsepp

Well, then there is no need to patch. So the question is whether a package that has spellchecking features should have dictionaries among its optional dependencies. Seems like the arch-dev mailing list is the right place to raise this issue.

tensor5 avatar Dec 08 '16 17:12 tensor5