I am writing in LaTeX at the moment and I want to use company-mode
for word completion. I found this solution: https://emacs.stackexchange.com/a/18522.
I was thinking about using the ispell dictionary instead, then I can also switch to another language for other documents.
I tried the code below, but when trying with company-complete
I just get No completion found
with almost any word.
(require 'ispell)
(setq ispell-dictionary "en_US")
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)
(add-to-list 'company-backends 'company-ispell)
(setq company-ispell-dictionary ispell-dictionary)
Does company-ispell
only work with plain txt dictionaries?