[latex] Fallback to company-auctex when company-math fails

Classic completions now use company-math if available
however if this fails it should fall back to the
original system to avoid issues with existing
configs.
This commit is contained in:
Maximilian Wolff 2021-01-10 20:10:31 +00:00
parent 9636cc84c6
commit ed278491ee
1 changed files with 3 additions and 2 deletions

View File

@ -29,10 +29,11 @@
(if (configuration-layer/package-used-p 'company-math)
(spacemacs|add-company-backends
:backends
company-auctex-environments
(company-auctex-macros)
company-math-symbols-unicode
company-math-symbols-latex
(company-auctex-macros)
company-auctex-symbols
company-auctex-environments
:modes LaTeX-mode)
(spacemacs|add-company-backends
:backends