company-reftex takes over citation completion
This commit is contained in:
parent
a64a2e8848
commit
8a4e61f0b2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue