company-reftex takes over citation completion

This commit is contained in:
Patrick Elliott 2018-07-13 12:51:11 +02:00
parent a64a2e8848
commit 8a4e61f0b2

View file

@ -196,14 +196,14 @@
(setq bibtex-completion-library-path (list +latex-bibtex-dir) (setq bibtex-completion-library-path (list +latex-bibtex-dir)
bibtex-completion-notes-path (expand-file-name "notes.org" +latex-bibtex-dir)))) bibtex-completion-notes-path (expand-file-name "notes.org" +latex-bibtex-dir))))
(def-package! company-auctex (def-package! company-auctex
:when (featurep! :completion company) :when (featurep! :completion company)
:after latex :after latex
:config :config
(add-hook! LaTeX-mode (add-hook! LaTeX-mode
(make-local-variable 'company-backends) (make-local-variable 'company-backends)
(company-auctex-init))) (add-to-list 'company-backends
'(company-auctex-macros company-auctex-symbols company-auctex-environments))))
(def-package! company-reftex (def-package! company-reftex
:after reftex :after reftex