From: Frederik Vanrenterghem <frederik@vanrenterghem.biz>
Date: Sun, 11 Jun 2023 06:28:11 +0000 (+0800)
Subject: Enable company mode; install magit and auctex.
X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/c556226e159c9f385ca12fdf8caed718c926b301

Enable company mode; install magit and auctex.
---

diff --git a/emacs/.emacs b/emacs/.emacs
index 6f71da3..962443b 100644
--- a/emacs/.emacs
+++ b/emacs/.emacs
@@ -10,6 +10,9 @@
 ;; ESS - for working in R
 (autoload 'R-mode "ess-site.el" "Major mode for editing R source." t)
 
+;; enable autocomplete
+(add-hook 'after-init-hook 'global-company-mode)
+
 (require 'org)
 
 ;; Auctex
@@ -60,7 +63,7 @@
  ;; If there is more than one, they won't work right.
  '(org-export-backends '(ascii html icalendar latex md odt))
  '(package-selected-packages
-   '(lsp-mode elpy ## org htmlize leuven-theme lua-mode ess-smart-underscore ess-R-data-view ess)))
+   '(company magit auctex lsp-mode elpy ## org htmlize leuven-theme lua-mode ess-smart-underscore ess-R-data-view ess)))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.