From 8a4e61f0b2d13aa342bf87f14872facdb335ec8f Mon Sep 17 00:00:00 2001 From: Patrick Elliott Date: Fri, 13 Jul 2018 12:51:11 +0200 Subject: [PATCH] company-reftex takes over citation completion --- modules/lang/latex/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index c96c7fcbf..dddff976d 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -196,14 +196,14 @@ (setq bibtex-completion-library-path (list +latex-bibtex-dir) bibtex-completion-notes-path (expand-file-name "notes.org" +latex-bibtex-dir)))) - (def-package! company-auctex :when (featurep! :completion company) :after latex :config (add-hook! LaTeX-mode (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 :after reftex