 
  
-;; * Python
-
-(use-package company-jedi
-  :ensure t)
-
-(use-package python
-  :init (setq python-indent-offset 2
-              python-shell-interpreter "python3")
-  :config (progn
-            (add-hook 'python-mode-hook 'highlight-indentation-mode)
-            (add-hook 'python-mode-hook
-                      #'(lambda ()
-                          (add-to-list 'company-backends 'company-jedi)))
-            (add-hook 'python-mode-hook #'flycheck-mode)
-
-            (elpy-enable)))
-
-(use-package elpy
-  :ensure t
-  :commands (elpy-enable)
-  :config (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)))
-
--
 ;; * Various Mode Configurations
 
 ;; These are packages that are not essential, but still nice to have.  They

  :commands (global-flycheck-mode flycheck-mode)
  :init (setq flycheck-emacs-lisp-load-path 'inherit))


;; * Mail

(use-package pdf-tools
  :commands (pdf-tools-install))

(use-package python
  :init (setq python-indent-offset 2
              python-shell-interpreter "python3")
  :config (progn
            (add-hook 'python-mode-hook #'highlight-indentation-mode)
            (add-hook 'python-mode-hook #'company-mode)
            (add-hook 'python-mode-hook #'eglot-ensure)))

(use-package shr
  :init (setq shr-use-fonts nil
              shr-use-colors nil
