blob: 2ef26eedeebd9c75e961ac6b1ec96d001cc32646 (
plain)
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
|
;;; -*- lexical-binding: t -*-
(use-package ligature
:hook
(prog-mode . ligature-mode)
:config
(ligature-set-ligatures
'prog-mode
'(;; Group A
".." ".=" "..." "..<" "::" ":::" ":=" "::=" ";;" ";;;" "??" "???" ".?" "?."
":?" "?:" "?=" "**" "***" "/*" "*/" "/**"
;; Group B
"<-" "->" "-<" ">-" "<--" "-->" "<<-" "->>" "-<<" ">>-" "<-<" ">->" "<-|"
"|->" "-|" "|-" "||-" "<!--" "<#--" "<=" "=>" ">=" "<==" "==>" "<<=" "=>>"
"=<<" ">>=" "<=<" ">=>" "<=|" "|=>" "<=>" "<==>" "||=" "|=" "//=" "/=" "/=="
;; Group C
"<<" ">>" "<<<" ">>>" "<>" "<$" "$>" "<$>" "<+" "+>" "<+>" "<:" ":<" "<:<"
">:" ":>" "<~" "~>" "<~>" "<<~" "<~~" "~~>" "~~" "<|" "|>" "<|>" "<||"
"||>" "<|||" "|||>" "</" "/>" "</>" "<*" "*>" "<*>" ":?>"
;; Group D
"#(" "#{" "#[" "]#" "#!" "#?" "#=" "#_" "#_(" "##" "###" "####"
;; Group E
"[|" "|]" "[<" ">]" "{!!" "!!}" "{|" "|}" "{{" "}}" "{{--" "--}}" "{!--"
"//" "///" "!!"
;; Group F
"www" "@_" "&&" "&&&" "&=" "~@" "++" "+++" "/\\" "\\/" "_|_" "||"
;; Group G
"=:" "=:=" "=!=" "==" "===" "=/=" "=~" "~-" "^=" "__" "!=" "!==" "-~" "--"
"---")))
(use-package magit
:custom
(transient-levels-file "~/.cache/emacs/transient/levels.el")
(transient-values-file "~/.cache/emacs/transient/values.el")
(transient-history-file "~/.cache/emacs/transient/history.el"))
(use-package projectile
:bind-keymap
("C-c p" . projectile-command-map)
:custom
(projectile-known-projects-file "~/.cache/emacs/projectile-bookmarks.eld")
(projectile-project-search-path '(("~/Developer/" . 2)))
:config
(projectile-mode +1))
;;;
;;; Ocaml
;;;
(use-package tuareg)
(use-package ocaml-eglot
:after (tuareg)
:hook
(tuareg-mode . ocaml-eglot)
(ocaml-eglot . eglot-ensure))
|