aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/init.el
blob: e6ca9c3fe61cd36e599f5ad038dd0dfdb2e2a8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;;; -*- lexical-binding: t -*-

;;; TODO(nlordell):
;; 1. Emacs over devcontainers/docker with TRAMP
;;    <https://happihacking.com/blog/posts/2023/dev-containers-emacs/>
;; 2. Setup LLM coding: gptel, aidermacs
;; 3. Try out neocaml - tree-sitter based

(load "~/.config/emacs/sanemacs.el" nil t)

(defcustom system-category 'plain
  "The category of system.

   Allows initialization and customization differentiation with a
   shared .emacs."
  :type '(choice (const :tag "Plain" plain)
				 (const :tag "Development" development))
  :group 'convenience)

(when (eq system-category 'development)
  (load "~/.config/emacs/config/development.el" nil t))
(when (eq system-type 'darwin)
  (load "~/.config/emacs/config/macos.el" nil t))