company is back

This commit is contained in:
Grigory Shipunov 2020-06-18 22:33:18 +02:00
parent 7ae3caf28e
commit 7ae465581a
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

11
init.el
View file

@ -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)