diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-01-24 14:01:18 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-01-24 14:01:18 -0500 |
commit | 80cfaf5a0a9f793cbb17d862bd9ca449e73c8a54 (patch) | |
tree | 32da6d67d825a54817e3d345ee130f24efd304d7 /.emacs | |
parent | Include latexmkrc (diff) |
switch from auto-complete to company
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 34 |
1 files changed, 25 insertions, 9 deletions
@@ -77,15 +77,6 @@ (?1 delete-other-windows "Delete Other Windows") (?? aw-show-dispatch-help)))) -(use-package auto-complete - :ensure t - :config - (ac-config-default) - (ac-set-trigger-key "TAB") - (add-to-list 'ac-dictionary-directories "~/.emacs.d/auto-complete/ac-dict") - :hook - ((Coq-mode LaTeX-mode sml-mode) . auto-complete-mode)) - (use-package auto-indent-mode :ensure t :config @@ -222,6 +213,31 @@ Extended Format date in the date field and return it as a string obeing :custom (c-default-style "bsd")) +(use-package company + :ensure t + :hook + (after-init . global-company-mode)) + +(use-package company-auctex + :after latex + :config + (company-auctex-init)) + +(use-package company-bibtex + :ensure t + :hook + (bibtex-mode . (lambda () (add-to-list 'company-backends 'company-bibtex)))) + +(use-package company-coq + :ensure t + :hook (coq-mode . company-coq-mode)) + +(use-package company-math + :ensure t + :config + (add-to-list 'company-backends 'company-math-symbols-unicode) + (add-to-list 'company-backends 'company-latex-commands)) + (use-package cus-edit :custom (custom-file null-device "Don't store customizations")) |