Update ligatures to use Iosevka definitions

This commit is contained in:
Evie Litherland-Smith 2024-01-16 15:47:57 +00:00
parent b2f274be05
commit 77fa033bf0

View file

@ -350,20 +350,12 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
:config
(ligature-set-ligatures
'(text-mode prog-mode org-mode)
'("++" "/=" "&&" "||" "||=" ; Arithmetic
"->" "=>" "::" "__" ; Scope
"==" "===" "!=" "=/=" ; Equality
"<=" ">=" "<=>" ; Comparisons
"/*" "*/" "//" "///" ; Comments
"<<" "<<<" "<<=" ">>" ">>>" ">>=" "|=" "^=" ; Bit operations
; TODO add hexadecimal ex?
"</" "<!--" "</>" "-->" "/>" ; HTML
"##" "###" "####" "#####" "######" ; Markdown
"..=" "::<" ; Rust
"-|" "_|_" "|-" "||-" "|=" "||=" ; Logic
":>" ":<" ">:" "<:" "::>" "<::" ">::" ; Other
"{|" "|}" "#[" "]#" "::=" "#!" "#="
))
'("<--" "<---" "<<-" "<-" "->" "->>" "-->" "--->"
"<==" "<===" "<<=" "<=" "=>" "=>>" "==>" "===>"
"<->" "<-->" "<--->" "<---->" "<=>" "<==>" "<===>" "<====>" "::" ":::"
"<~~" "</" "</>" "/>" "~~>" "==" "!=" "<>" "===" "!==" "!==="
"<:" ":=" "*=" "*+" "<*" "<*>" "*>" "<|" "<|>" "|>" "+*" "=*" "=:" ":>"
"/*" "*/" "+++" "<!--" "<!---"))
(global-ligature-mode +1))
#+end_src
** Notifications