mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
company-reftex takes over citation completion
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user