   (setq-default TeX-master nil)
   ;; Display the output of the latex commands in a popup.
   (set-popup-rule! " output\\*$" :size 15)
-
-  ;; TeX Font Styling
-  ;; (def-package! tex-style :defer t)
-
   ;; TeX Folding
   (add-hook 'TeX-mode-hook #'TeX-fold-mode))
-
 
 (after! latex
   (setq LaTeX-section-hook ; Add the toc entry to the sectioning hooks.

;;; lang/latex/config.el -*- lexical-binding: t; -*-

(defvar +latex-bibtex-file ""
  "File AUCTeX (specifically RefTeX) uses to search for citations.")

(defvar +latex-indent-level-item-continuation 4
  "Custom indentation level for items in enumeration-type environments")

;;
;; Plugins
;;

;; sp's default rules are obnoxious, so disable them
(provide 'smartparens-latex)

  (dolist (env '("itemize" "enumerate" "description"))
    (add-to-list 'LaTeX-indent-environment-list `(,env +latex/LaTeX-indent-item)))

  ;; Set-up viewers
  (load! "+viewers"))


(def-package! preview
