 ;; Automatically update buffers if file content on disk has changes
 (global-auto-revert-mode t)
 
-;; Hilight the current line
-;; (global-hl-line-mode 1)
-
-;;; ————— Disable unnecessary UI elements —————
-
 ;; Don't show the menu bar, except on macOS. On macOS the menu bar doesn't take
 ;; up any additional screen real estate, so there's no harm in keeping it.
 (when (not (eq system-type 'darwin))

(setq-default inhibit-startup-message t)

;; Don't put 'customize' config in init.el; git it another file
(setq-default custom-file "~/.config/emacs/custom-file.el")

;; 72 is too narrow
(setq-default fill-column 80)

;; TODO: Don't use hard tabs? I haven't had this set and haven't noticed any
;; issues. I think most modes are sane and use spaces. Is this necessary?
; (setq-default indent-tabs-mode nil)

;; Don't litter backup files everywhere. Contain them to a directory in .config
(setq-default backup-directory-alist `(("." . ,(concat user-emacs-directory "backups"))))


(setq visible-bell t)

;; Allow Emacs to resize by pixel rather than character
(setq window-resize-pixelwise t)
(setq frame-resize-pixelwise t)

;;; ---------- Company mode ----------

(use-package company
  :bind (:map company-active-map
