.
This commit is contained in:
parent
bc67e83ebb
commit
c0069f400e
1 changed files with 32 additions and 31 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue