alexeyr / company-auctex

company-mode autocompletion for auctex
49 stars 18 forks source link

the package takes too long at initialization #23

Closed yilkalargaw closed 6 years ago

yilkalargaw commented 7 years ago

loading this package as indicated takes too long to load. It should be possible to load the package in only LaTex-mode using LaTex-mode-hook

yilkalargaw commented 6 years ago

currnetly I am differing the loading of this package after emacs has been initialized. But I still suggest to make a hook for the package to load with latex-mode and tex mode.

 (use-package  company-auctex
  :ensure t
  :config  (company-auctex-init)
  :defer 5
  )