From 7ae465581a6aa5e716e08824ccd7842137624b4a Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 18 Jun 2020 22:33:18 +0200 Subject: [PATCH] company is back --- init.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 2350561..5cfa3a5 100644 --- a/init.el +++ b/init.el @@ -159,6 +159,11 @@ (straight-use-package 'counsel) (counsel-mode 1) +;; completion by default - welcome to 2020 +(straight-use-package 'company) +(straight-use-package 'company-auctex) +(add-hook 'after-init-hook 'global-company-mode) + ;; healthy people weeks are starting on Monday (use-package calendar :init (setq calendar-week-start-day 1)) @@ -168,7 +173,11 @@ :mode ("\\.tex\\'" . latex-mode) :straight auctex :config - (setq TeX-parse-self t)) + (setq TeX-parse-self t) + ;; completion for LaTeX + (use-package company-auctex + :config + (company-auctex-init))) (use-package latex-preview-pane :straight t)