mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Improved math completion via company-math
This commit is contained in:
@ -200,10 +200,15 @@
|
||||
:when (featurep! :completion company)
|
||||
:after latex
|
||||
:config
|
||||
(add-hook! LaTeX-mode
|
||||
(make-local-variable 'company-backends)
|
||||
(add-to-list 'company-backends
|
||||
'(company-auctex-macros company-auctex-symbols company-auctex-environments))))
|
||||
(def-package! company-math
|
||||
:defer t
|
||||
:init
|
||||
(add-hook! LaTeX-mode
|
||||
(setq-local company-backends
|
||||
(append '((company-math-symbols-latex
|
||||
company-auctex-macros
|
||||
company-auctex-environments))
|
||||
company-backends)))))
|
||||
|
||||
(def-package! company-reftex
|
||||
:after reftex
|
||||
|
@ -16,7 +16,8 @@
|
||||
|
||||
(when (featurep! :completion company)
|
||||
(package! company-auctex)
|
||||
(package! company-reftex))
|
||||
(package! company-reftex)
|
||||
(package! company-math))
|
||||
(when (featurep! :completion ivy)
|
||||
(package! ivy-bibtex))
|
||||
(when (featurep! :completion helm)
|
||||
|
Reference in New Issue
Block a user