Improved math completion via company-math
This commit is contained in:
parent
614c49f43f
commit
babb7821a0
2 changed files with 11 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue