-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.emacs
42 lines (39 loc) · 1.85 KB
/
.emacs
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
;; Change init file
(setq init-file "~/.emacs.d/init.el")
(load init-file)
(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.
'(ansi-color-names-vector
["#000000" "#8b0000" "#00ff00" "#ffa500" "#7b68ee" "#dc8cc3" "#93e0e3" "#dcdccc"])
'(custom-enabled-themes '(dracula))
'(custom-safe-themes
'("1df608f879e1392c30bb0f323c8abf8e17f7cbf1044ea8c0f683bd385351fd8f" "fe1c13d75398b1c8fd7fdd1241a55c286b86c3e4ce513c4292d01383de152cb7" default))
'(fci-rule-color "#383838")
'(ocamlformat-enable 'disable)
'(package-selected-packages
'(flycheck rustic tuareg yaml dune ocamlformat company dracula-theme yasnippet afternoon cyberpunk-theme which-key use-package))
'(safe-local-variable-values
'((lsp-rust-analyzer-linked-projects .
["src/kernel_evm/Cargo.toml"])
(lsp-rust-analyzer-linked-projects .
["src/kernel_evm_mockup/Cargo.toml"]))))
(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.
)
;; Change config file
(setq config-file "~/.emacs.d/config/config.el")
(load config-file)
(use-package ocamlformat
:custom (ocamlformat-enable 'enable-outside-detected-project)
:hook (before-save . ocamlformat-before-save)
)
;; ## added by OPAM user-setup for emacs / base ## 56ab50dc8996d2bb95e7856a6eddb17b ## you can edit, but keep this line
(require 'opam-user-setup "~/.emacs.d/opam-user-setup.el")
;; ## end of OPAM user-setup addition for emacs / base ## keep this line
(put 'narrow-to-region 'disabled nil)