Hongyi Zhao <hongyi.z...@gmail.com> writes:

> My current configuration:
>
> (use-package company-math
>   :hook
>   ;; This will enable the company-math backend for LaTeX mode
>   (LaTeX-mode . (lambda ()
>           (setq-local company-backends
>                   (append '((company-math-symbols-latex 
> company-latex-commands))
>                       company-backends))))
>   )
>
> See the attached file for the results returned using your example.

I think you need none of company-math-symbols-latex and
company-latex-commands, AUCTeX offers already a Capf for both of them,
so comment out that part and start company without any additions in your
.tex file.

> What's your corfu configuration?

(setq tab-always-indent 'complete)
(setq corfu-auto t)
(global-corfu-mode)

Best, Arash

Reply via email to