Added company reftex support.
This commit is contained in:
parent
821d1937b8
commit
a64a2e8848
2 changed files with 7 additions and 1 deletions
|
@ -205,6 +205,11 @@
|
||||||
(make-local-variable 'company-backends)
|
(make-local-variable 'company-backends)
|
||||||
(company-auctex-init)))
|
(company-auctex-init)))
|
||||||
|
|
||||||
|
(def-package! company-reftex
|
||||||
|
:after reftex
|
||||||
|
:config
|
||||||
|
(set-company-backend! 'reftex-mode 'company-reftex-labels 'company-reftex-citations))
|
||||||
|
|
||||||
;; Nicely indent lines that have wrapped when visual line mode is activated
|
;; Nicely indent lines that have wrapped when visual line mode is activated
|
||||||
(def-package! adaptive-wrap
|
(def-package! adaptive-wrap
|
||||||
:hook (LaTeX-mode . adaptive-wrap-prefix-mode)
|
:hook (LaTeX-mode . adaptive-wrap-prefix-mode)
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
;; Features according to other user selected options
|
;; Features according to other user selected options
|
||||||
|
|
||||||
(when (featurep! :completion company)
|
(when (featurep! :completion company)
|
||||||
(package! company-auctex))
|
(package! company-auctex)
|
||||||
|
(package! company-reftex))
|
||||||
(when (featurep! :completion ivy)
|
(when (featurep! :completion ivy)
|
||||||
(package! ivy-bibtex))
|
(package! ivy-bibtex))
|
||||||
(when (featurep! :completion helm)
|
(when (featurep! :completion helm)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue