Add arrow ligatures for cascadia code
This commit is contained in:
parent
21346b6d44
commit
b814409b8c
1 changed files with 3 additions and 3 deletions
|
|
@ -363,11 +363,11 @@
|
||||||
"\\\\" "&&" "|}" "|]" "||" "|||" "|||>" "|>" "$>" "++" "+++" "+>" "=="
|
"\\\\" "&&" "|}" "|]" "||" "|||" "|||>" "|>" "$>" "++" "+++" "+>" "=="
|
||||||
"===" "=>>" "=<<" ">=" ">>" ">>=" ">>>" "<!--" "<*" "<*>" "<|" "<||"
|
"===" "=>>" "=<<" ">=" ">>" ">>=" ">>>" "<!--" "<*" "<*>" "<|" "<||"
|
||||||
"<|||" "<|>" "<$" "<$>" "<+" "<+>" "<=" "<>" "<<" "<<=" "<<<" "<~"
|
"<|||" "<|>" "<$" "<$>" "<+" "<+>" "<=" "<>" "<<" "<<=" "<<<" "<~"
|
||||||
"<~>" "<~~" "</" "</>" "~-" "~@" "~=" "~>" "~~" "~~>" "^=" "%%"))
|
"<~>" "<~~" "</" "</>" "~-" "~@" "~=" "~>" "~~" "~~>" "^=" "%%"
|
||||||
|
"->" "-->" "--->" "<-" "<--" "<---"))
|
||||||
(t
|
(t
|
||||||
'()))))
|
'()))))
|
||||||
(when (string= font-family (face-attribute 'default :family))
|
(ligature-set-ligatures 'prog-mode ligatures)))
|
||||||
(ligature-set-ligatures 'prog-mode ligatures))))
|
|
||||||
|
|
||||||
(to/set-ligatures-for-font (face-attribute 'default :family))
|
(to/set-ligatures-for-font (face-attribute 'default :family))
|
||||||
(global-ligature-mode t))
|
(global-ligature-mode t))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue