-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
48 lines (36 loc) · 1.18 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
46
47
48
;;; init.el --- Zhengdong's Emacs configuration.
;; Copyright (C) 2022 Zhengdong
;; Author: Zhengdong Jiang <[email protected]>
;; Keywords: configuration
;;; Commentary:
;;; Code:
;; custom scripts located in ~/.emacs.d/lisp/
(add-to-list 'load-path (concat user-emacs-directory "lisp"))
;; load local sinppets(~/.elisp/) that don't want to manage using vcs.
(let ((elisp-dir (expand-file-name "~/.elisp")))
(when (file-directory-p elisp-dir)
(add-to-list 'load-path elisp-dir)
(dolist (file (directory-files elisp-dir t "\\.el$"))
(load file))))
(require 'init-package)
(require 'init-ui)
(require 'init-basic)
(require 'init-project)
(require 'init-language)
;;(require 'init-lsp)
;; (require 'init-language-python)
;; (require 'init-language-go)
;; (require 'init-language-rust)
(require 'init-language-emacs-lisp)
(require 'init-language-common-lisp)
(require 'init-language-lua)
;; (require 'init-language-java) -- disable java lsp
(require 'init-language-html)
(require 'init-language-typescript)
(require 'init-language-sql)
(require 'init-mode-yml)
(require 'init-mode-markdown)
(require 'init-mode-org)
(require 'init-key-binding)
(require 'init-tool)
;;; init.el ends here