Add back a collection of known FiraCode ligatures
This commit is contained in:
parent
c1a9a23da9
commit
93c1fc97ed
22
README.org
22
README.org
|
@ -342,9 +342,25 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
|
|||
:ensure t
|
||||
:diminish
|
||||
:config
|
||||
(ligature-set-ligatures '(text-mode prog-mode)
|
||||
'("==" "!=" ">=" "<="
|
||||
"->" "=>" "~>"))
|
||||
(ligature-set-ligatures
|
||||
'(text-mode prog-mode org-mode)
|
||||
'("++" "--" "/=" "&&" "||" "||=" ; Arithmetics
|
||||
"->" "=>" "::" "__" ; Scope
|
||||
"==" "===" "!=" "=/=" ; Equality
|
||||
"<=" ">=" "<=>" ; Comparisons
|
||||
"/*" "*/" "//" "///" ; Comments
|
||||
"\n" "\\" ; Excaped chars
|
||||
"<<" "<<<" "<<=" ">>" ">>>" ">>=" "|=" "^=" ; Bit operations
|
||||
; TODO add hexadecimal ex?
|
||||
"</" "<!--" "</>" "-->" "/>" ; HTML
|
||||
"##" "###" "####" "#####" "######" ; Markdown
|
||||
"--" "---" "----" "-----" "------"
|
||||
"==" "===" "====" "=====" "======"
|
||||
"..=" "::<" ; Rust
|
||||
"-|" "_|_" "|-" "||-" "|=" "||=" ; Logic
|
||||
":>" ":<" ">:" "<:" "::>" "<::" ">::" ; Other
|
||||
"{|" "|}" "#[" "]#" "::=" "#!" "#="
|
||||
))
|
||||
(global-ligature-mode +1))
|
||||
#+end_src
|
||||
** Notifications
|
||||
|
|
Loading…
Reference in a new issue