about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-09-15 21:51:42 -0500
committerCase Duckworth2020-09-15 21:51:42 -0500
commita4852c86e1da225e3d6f78ea04d69732e56e80fa (patch)
tree4c61abc5f7accf7071d98a7dfa63f8d8057bddb3
parentFix hooks (diff)
downloademacs-a4852c86e1da225e3d6f78ea04d69732e56e80fa.tar.gz
emacs-a4852c86e1da225e3d6f78ea04d69732e56e80fa.zip
Add ligature and unicode
-rw-r--r--init.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/init.el b/init.el index ac84084..1440ab7 100644 --- a/init.el +++ b/init.el
@@ -278,6 +278,32 @@
278 :hook 278 :hook
279 (exwm-init-hook . statusbar-mode))) 279 (exwm-init-hook . statusbar-mode)))
280 280
281(use-package ligature
282 :straight (ligature
283 :host github
284 :repo "mickeynp/ligature.el")
285 :config
286 (ligature-set-ligatures 'prog-mode
287 '("++" "--" "/=" "&&" "||" "||="
288 "->" "=>" "::" "__"
289 "==" "===" "!=" "=/=" "!=="
290 "<=" ">=" "<=>"
291 "/*" "*/" "//" "///"
292 "\\n" "\\\\"
293 "<<" "<<<" "<<=" ">>" ">>>" ">>="
294 "|=" "^="
295 "**" "--" "---" "----" "-----"
296 "==" "===" "====" "====="
297 "</" "<!--" "</>" "-->" "/>"
298 ":=" "..." ":>" ":<" ">:" "<:"
299 "::=" ;; add others here
300 ))
301 (global-ligature-mode t))
302
303(use-package unicode-fonts
304 :config
305 (unicode-fonts-setup))
306
281;; modus themes 307;; modus themes
282 308
283(use-package modus-operandi-theme 309(use-package modus-operandi-theme