-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
78 lines (66 loc) · 3.95 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
;;; init --- Summary
;;; Commentary:
;;; Code:
(setq backup-directory-alist `(("." . "~/.emacs_saves")))
(add-to-list 'load-path "~/.emacs.d/lisp/")
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("18cf5d20a45ea1dff2e2ffd6fbcd15082f9aa9705011a3929e77129a971d1cb3" "2dc03dfb67fbcb7d9c487522c29b7582da20766c9998aaad5e5b63b5c27eec3f" "06ed754b259cb54c30c658502f843937ff19f8b53597ac28577ec33bb084fa52" "d516f1e3e5504c26b1123caa311476dc66d26d379539d12f9f4ed51f10629df3" "c48551a5fb7b9fc019bf3f61ebf14cf7c9cdca79bcb2a4219195371c02268f11" "a4395e069de3314001de4e139d6a3b1a83dcf9c3fdc68ee7b13eef6c2cba4ae3" "c9415c9f5a5ed67914d1d64a0ea7d743ef93516f1f2c8501bc5ffb87af2066d3" "d9a28a009cda74d1d53b1fbd050f31af7a1a105aa2d53738e9aa2515908cac4c" "620b9018d9504f79344c8ef3983ea4e83d209b46920f425240889d582be35881" "b3775ba758e7d31f3bb849e7c9e48ff60929a792961a2d536edec8f68c671ca5" "96998f6f11ef9f551b427b8853d947a7857ea5a578c75aa9c4e7c73fe04d10b4" "e0d42a58c84161a0744ceab595370cbe290949968ab62273aed6212df0ea94b4" "9b59e147dbbde5e638ea1cde5ec0a358d5f269d27bd2b893a0947c4a867e14c1" "3cc2385c39257fed66238921602d8104d8fd6266ad88a006d0a4325336f5ee02" "58c6711a3b568437bab07a30385d34aacf64156cc5137ea20e799984f4227265" default))
'(package-selected-packages
'(bibtex-completion citeproc-org org-ref imenu-list centaur-tabs treemacs-nerd-icons treemacs-all-the-icons org-modern-mode modus-themes org-modern consult-eglot 0blayout pyim-basedict magit pyim flymake-diagnostic-at-point flymake-cursor orderless consult-projectile vertico consult zenburn-theme tree-sitter-langs tree-sitter yasnippet-snippets beacon meow markdown-mode company-auctex latex-preview-pane auctex paredit company-fuzzy treemacs-projectile linum-relative flycheck-rust window-numbering enh-ruby-mode robe zenity-color-picker sublime-themes dumb-jump treemacs ivy projectile switch-window smex go-mode rust-mode scala-mode switch-window- ace-window neotree speedbar-git-respect company-c-headers company flycheck))
'(safe-local-variable-values
'((company-c-headers-path-user "./src/components/" "./components/")
(company-clang-arguments "-I./src/components/" "-I./components/"))))
;; prepare package
(require 'init-use-package)
(require 'init-theme)
;; project related
(require 'init-projectile)
(require 'init-treemacs)
;; completion
(require 'init-company)
(require 'init-yasnippet)
;; (require 'init-flycheck)
(require 'init-smex)
(require 'init-beacon)
(require 'init-switch-window)
(require 'init-vertico)
;; (require 'init-ivy)
(require 'init-avy)
;; (require 'init-dumb-jump)
(require 'init-org-mode)
;;(if (display-graphic-p)
(require 'init-latex)
;; language specific
(require 'init-tree-sitter)
;; eglot is the first required package so other init files do not have top require eglot
(require 'init-eglot)
(require 'init-ruby)
(require 'init-rust)
(require 'init-go)
(require 'init-elisp)
(require 'init-c-cxx)
;; customization on required packages
(require 'init-customization)
(require 'init-window-numbering)
(require 'init-meow)
(require 'init-show-buffers)
;; Chinese input method
(require 'init-pyim)
(provide 'init)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:background nil))))
'(company-tooltip ((t (:inherit default :background "#f697ed2fdcba"))))
'(company-tooltip-annotation ((t (:inherit company-tooltip :foreground "#FF9108"))))
'(company-tooltip-common ((t (:inherit font-lock-constant-face))))
'(company-tooltip-scrollbar-thumb ((t (:background "#cb7996f43b0b"))))
'(company-tooltip-scrollbar-track ((t (:background "#ebcfd7a0b44e"))))
'(company-tooltip-selection ((t (:background "#e108c2128be2")))))