1
0
Fork 0
dotfiles/.emacs.d/init.el
Lucas Sta Maria 0cf7b18000
refactor(emacs): remove racket.el
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
2024-11-04 20:11:42 -05:00

44 lines
1.3 KiB
EmacsLisp

;;; init.el -- Base configuration
;;; Commentary:
;; Base configuration.
;;; Code:
;;; Straight and Packages
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(add-to-list 'load-path "~/.emacs.d/include")
(load-library "priime-elisp")
(load-library "priime-utils")
(load-library "priime-general")
(load-library "priime-lsp")
(load-library "priime-completion")
(load-library "priime-edit")
(load-library "priime-convenience")
(load-library "priime-vc")
(load-library "priime-ui")
(load-library "priime-org")
(load-library "priime-languages")
;; Legacy
(when (equal (system-name) "framework")
(load-library "mu4econfig"))
(load-library "latexconfig")
(load-library "cppconfig")
(load-library "gpgconfig")
;; ====== Hooks ==============================
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
(add-hook 'prog-mode-hook #'hl-line-mode)