Add new iosevka ligatures to composition table

Closes #3047
This commit is contained in:
Henrik Lissner 2020-05-06 13:44:06 -04:00
parent b5c4fce0b1
commit 8f4684a69b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -57,16 +57,16 @@ besides what is listed.")
(?$ . ,(regexp-opt '("$>" "$>>"))) (?$ . ,(regexp-opt '("$>" "$>>")))
(?% . ,(regexp-opt '("%%" "%%%"))) (?% . ,(regexp-opt '("%%" "%%%")))
(?& . ,(regexp-opt '("&&" "&&&"))) (?& . ,(regexp-opt '("&&" "&&&")))
(?* . ,(regexp-opt '("*" "**" "***" "**/" "*/" "*>"))) (?* . ,(regexp-opt '("*" "**" "***" "**/" "*/" "*>" "*)")))
(?+ . ,(regexp-opt '("+" "++" "+++" "+>"))) (?+ . ,(regexp-opt '("+" "++" "+++" "+>" "+:")))
(?- . ,(regexp-opt '("--" "---" "-->" "-<" "-<<" "->" "->>" "-}" "-~"))) (?- . ,(regexp-opt '("--" "---" "-->" "--->" "->-" "-<" "-<-" "-<<" "->" "->>" "-}" "-~" "-:" "-|")))
(?. . ,(regexp-opt '(".-" ".." "..." "..<" ".="))) (?. . ,(regexp-opt '(".-" ".." "..." "..<" ".=" ".>")))
(?/ . ,(regexp-opt '("/*" "/**" "//" "///" "/=" "/==" "/>"))) (?/ . ,(regexp-opt '("/*" "/**" "//" "///" "/=" "/==" "/>")))
(?: . ,(regexp-opt '(":" "::" ":::" ":=" ":<" ":=" ":>"))) (?: . ,(regexp-opt '(":" "::" ":::" ":=" ":<" ":=" ":>" ":+")))
(?0 . "0\\(?:\\(x[a-fA-F0-9]\\).?\\)") ; Tries to match the x in 0xDEADBEEF (?0 . "0\\(?:\\(x[a-fA-F0-9]\\).?\\)") ; Tries to match the x in 0xDEADBEEF
;; (?x . ,(regexp-opt '("x"))) ; Also tries to match the x in 0xDEADBEEF ;; (?x . ,(regexp-opt '("x"))) ; Also tries to match the x in 0xDEADBEEF
(?\; . ,(regexp-opt '(";;"))) (?\; . ,(regexp-opt '(";;")))
(?< . ,(regexp-opt '("<!--" "<$" "<$>" "<*" "<*>" "<+" "<+>" "<-" "<--" "<->" "</" "</>" "<<" "<<-" "<<<" "<<=" "<=" "<=" "<=<" "<==" "<=>" "<>" "<|" "<|>" "<~" "<~~"))) (?< . ,(regexp-opt '("<!--" "<$" "<$>" "<*" "<*>" "<**>" "<+" "<+>" "<-" "<--" "<---" "<->" "<-->" "<--->" "</" "</>" "<<" "<<-" "<<<" "<<=" "<=" "<=<" "<==" "<=>" "<===>" "<>" "<|" "<|>" "<~" "<~~" "<." "<.>" "<..>")))
(?= . ,(regexp-opt '("=/=" "=:=" "=<<" "==" "===" "==>" "=>" "=>>"))) (?= . ,(regexp-opt '("=/=" "=:=" "=<<" "==" "===" "==>" "=>" "=>>")))
(?> . ,(regexp-opt '(">-" ">->" ">:" ">=" ">=>" ">>" ">>-" ">>=" ">>>"))) (?> . ,(regexp-opt '(">-" ">->" ">:" ">=" ">=>" ">>" ">>-" ">>=" ">>>")))
(?? . ,(regexp-opt '("??" "?." "?:" "?="))) (?? . ,(regexp-opt '("??" "?." "?:" "?=")))
@ -75,8 +75,9 @@ besides what is listed.")
(?^ . ,(regexp-opt '("^=" "^=="))) (?^ . ,(regexp-opt '("^=" "^==")))
(?w . ,(regexp-opt '("www" "wwww"))) (?w . ,(regexp-opt '("www" "wwww")))
(?{ . ,(regexp-opt '("{-" "{|" "{||" "{|}" "{||}"))) (?{ . ,(regexp-opt '("{-" "{|" "{||" "{|}" "{||}")))
(?| . ,(regexp-opt '("|=" "|>" "||" "||=" "|->" "|=>" "|]" "|}"))) (?| . ,(regexp-opt '("|=" "|>" "||" "||=" "|->" "|=>" "|]" "|}" "|-")))
(?_ . ,(regexp-opt '("_|_" "__"))) (?_ . ,(regexp-opt '("_|_" "__")))
(?\( . ,(regexp-opt '("(*")))
(?~ . ,(regexp-opt '("~-" "~=" "~>" "~@" "~~" "~~>"))))) (?~ . ,(regexp-opt '("~-" "~=" "~>" "~@" "~~" "~~>")))))
"An alist of all ligatures used by `+prog-ligatures-modes'. "An alist of all ligatures used by `+prog-ligatures-modes'.