company is back
This commit is contained in:
parent
7ae3caf28e
commit
7ae465581a
1 changed files with 10 additions and 1 deletions
11
init.el
11
init.el
|
@ -159,6 +159,11 @@
|
||||||
(straight-use-package 'counsel)
|
(straight-use-package 'counsel)
|
||||||
(counsel-mode 1)
|
(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
|
;; healthy people weeks are starting on Monday
|
||||||
(use-package calendar
|
(use-package calendar
|
||||||
:init (setq calendar-week-start-day 1))
|
:init (setq calendar-week-start-day 1))
|
||||||
|
@ -168,7 +173,11 @@
|
||||||
:mode ("\\.tex\\'" . latex-mode)
|
:mode ("\\.tex\\'" . latex-mode)
|
||||||
:straight auctex
|
:straight auctex
|
||||||
:config
|
: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
|
(use-package latex-preview-pane
|
||||||
:straight t)
|
:straight t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue