-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
45 lines (39 loc) · 1.23 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;;-*- lexical-binding: t -*-
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
(setq custom-file (locate-user-emacs-file "custom.el"))
;; bootstrap init
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
(or (bound-and-true-p straight-base-dir)
user-emacs-directory)))
(bootstrap-version 7))
(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))
(require 'init-setup)
(require 'init-basic)
;; use corfu with lsp-mode need human intervention
;; (require 'init-corfu)
(require 'init-company)
(require 'init-yasnippet)
(require 'init-lsp-mode)
(require 'init-python)
(require 'init-org)
(require 'init-magit)
(require 'init-latex)
(require 'init-beancount)
(require 'init-treesitter)
(require 'init-flycheck)
(require 'init-pyvenv)
;; (require 'init-conda)
(require 'init-typst)
;; (when (file-exists-p custom-file)
;; (load custom-file))
;;; init.el ends here