-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.el
86 lines (86 loc) · 3.09 KB
/
custom.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
79
80
81
82
83
84
85
86
(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.
'(safe-local-variable-values
'((eval progn
(setq lsp-session-file
(concat
(project-root
(project-current))
".lsp/session")
lsp-java-workspace-dir
(concat
(project-root
(project-current))
".lsp/workspace/data")
lsp-java-workspace-cache-dir
(concat
(project-root
(project-current))
".lsp/workspace/cache"))
(add-to-list 'eglot-server-programs
(append
'(java-mode)
(my/jdtls-start-command nil))))
(eval progn
(setq lsp-session-file
(concat
(project-root
(project-current))
".lsp/session")
lsp-java-workspace-dir
(concat
(project-root
(project-current))
".lsp/workspace/data")
lsp-java-workspace-cache-dir
(concat
(project-root
(project-current))
".lsp/workspace/cache"))
(add-to-list 'eglot-server-programs
`(java-mode "jdtls" "-configuration" "/opt/eclipse.jdt.ls/config_linux" "-data" ,lsp-java-workspace-dir)))
(eval setq-local org-roam-directory
(locate-dominating-file default-directory ".dir-locals.el"))
(eval progn
(setq lsp-session-file
(concat
(project-root
(project-current))
".lsp/session")
lsp-java-workspace-dir
(concat
(project-root
(project-current))
".lsp/workspace/data")
lsp-java-workspace-cache-dir
(concat
(project-root
(project-current))
".lsp/workspace/cache")))
(org-roam-dailies-capture-templates
("d" "default" entry "* %?" :target
(file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\12* Training Log\12 #+SESSION: B%(format \"%s\" (length (directory-files \"~/Documents/org/roam-jj/daily\" t \"\\.org$\"))) \12** Techniques\12 %?\12** Rolling\12")))
(org-roam-directory . "/home/iocanel/Documents/org/roam-jj")
(eval progn
(setq lsp-session-file
(concat
(projectile-project-root)
".lsp/session")
lsp-java-workspace-dir
(concat
(projectile-project-root)
".lsp/workspace/data")
lsp-java-workspace-cache-dir
(concat
(projectile-project-root)
".lsp/workspace/cache"))))))
(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.
'(ts-fold-replacement-face ((t (:foreground unspecified :box nil :inherit font-lock-comment-face :weight light)))))
(put 'upcase-region 'disabled nil)