mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Company-reftex should be conditional on company
This commit is contained in:
@ -165,7 +165,6 @@
|
|||||||
bibtex-text-indentation 20)
|
bibtex-text-indentation 20)
|
||||||
(define-key bibtex-mode-map (kbd "C-c \\") #'bibtex-fill-entry))
|
(define-key bibtex-mode-map (kbd "C-c \\") #'bibtex-fill-entry))
|
||||||
|
|
||||||
|
|
||||||
(def-package! auctex-latexmk
|
(def-package! auctex-latexmk
|
||||||
:when (featurep! +latexmk)
|
:when (featurep! +latexmk)
|
||||||
:after-call (latex-mode-hook LaTeX-mode-hook)
|
:after-call (latex-mode-hook LaTeX-mode-hook)
|
||||||
@ -178,12 +177,10 @@
|
|||||||
;; Add latexmk as a TeX target
|
;; Add latexmk as a TeX target
|
||||||
(auctex-latexmk-setup))
|
(auctex-latexmk-setup))
|
||||||
|
|
||||||
|
|
||||||
(def-package! ivy-bibtex
|
(def-package! ivy-bibtex
|
||||||
:when (featurep! :completion ivy)
|
:when (featurep! :completion ivy)
|
||||||
:commands ivy-bibtex)
|
:commands ivy-bibtex)
|
||||||
|
|
||||||
|
|
||||||
(def-package! helm-bibtex
|
(def-package! helm-bibtex
|
||||||
:when (featurep! :completion helm)
|
:when (featurep! :completion helm)
|
||||||
:commands helm-bibtex)
|
:commands helm-bibtex)
|
||||||
@ -210,6 +207,7 @@
|
|||||||
company-backends)))))
|
company-backends)))))
|
||||||
|
|
||||||
(def-package! company-reftex
|
(def-package! company-reftex
|
||||||
|
:when (featurep! :completion company)
|
||||||
:after reftex
|
:after reftex
|
||||||
:config
|
:config
|
||||||
(set-company-backend! 'reftex-mode 'company-reftex-labels 'company-reftex-citations))
|
(set-company-backend! 'reftex-mode 'company-reftex-labels 'company-reftex-citations))
|
||||||
|
Reference in New Issue
Block a user