This commit is contained in:
Daniel Ziltener 2024-01-05 01:21:21 +01:00
parent bc67e83ebb
commit c0069f400e
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -231,32 +231,32 @@
:config
(unicode-fonts-setup))
(use-package ligature
:config
(ligature-set-ligatures
't
'(";;"
;; SS01
"==" "===" "=/=" "!=" "!==" "/=" "/==" "~~" "=~" "!~"
;; SS02
">=" "<="
;; SS03
"->" "<-" "=>" "<!--" "-->" "<~" "<~~" "~>" "~~>" "<~>"
;; SS04
"</" "/>" "</>" "/\\" "\\/"
;; SS05
"|>" "<|"
;; SS06
"##" "###"
;; SS07
"***" "/*" "*/" "/*/" "(*" "*)" "(*)"
;; SS08
".=" ".-" "..<"
;; CALT
"//" "///" "&&" "!!" "??" "?." "?:" "||" "::" ":::" ";;" ".." "..." "=!=" "#=" ":=" "=:" "=:="
":>" ">:" "<:" ":<" "..=" "..-"
))
(global-ligature-mode nil))
;; (use-package ligature
;; :config
;; (ligature-set-ligatures
;; 't
;; '(";;"
;; ;; SS01
;; "==" "===" "=/=" "!=" "!==" "/=" "/==" "~~" "=~" "!~"
;; ;; SS02
;; ">=" "<="
;; ;; SS03
;; "->" "<-" "=>" "<!--" "-->" "<~" "<~~" "~>" "~~>" "<~>"
;; ;; SS04
;; "</" "/>" "</>" "/\\" "\\/"
;; ;; SS05
;; "|>" "<|"
;; ;; SS06
;; "##" "###"
;; ;; SS07
;; "***" "/*" "*/" "/*/" "(*" "*)" "(*)"
;; ;; SS08
;; ".=" ".-" "..<"
;; ;; CALT
;; "//" "///" "&&" "!!" "??" "?." "?:" "||" "::" ":::" ";;" ".." "..." "=!=" "#=" ":=" "=:" "=:="
;; ":>" ">:" "<:" ":<" "..=" "..-"
;; ))
;; (global-ligature-mode nil))
(set-frame-parameter nil 'alpha-background 90)
(add-to-list 'default-frame-alist '(alpha-background . 90))
@ -631,6 +631,7 @@ Point must be at the beginning of balanced expression (sexp)."
#'cc/barf-forward))
:hook
clojure-ts-mode
clojure-mode
emacs-lisp-mode
scheme-mode)
@ -804,11 +805,11 @@ Point must be at the beginning of balanced expression (sexp)."
:hook
(clojure-mode . (lambda ()
(setq-local prettify-symbols-alist
'(("(fn " . "(λ ")
("(comp " . "( ")
("(and " . "( ")
("(or " . "( ")
("(not " . "(¬ "))))))
'(("fn" . "λ")
("comp" . "")
("and" . "")
("or" . "")
("not" . "¬"))))))
(use-package cider
;; :elpaca (:host github :repo "clojure-emacs/cider" :tag "v1.12.0")