Simplify ligature config
This commit is contained in:
parent
e9ef824138
commit
dd418f89c0
13
README.org
13
README.org
|
@ -206,14 +206,11 @@ Configure the look and feel of Emacs
|
|||
:config
|
||||
(ligature-set-ligatures
|
||||
'(text-mode prog-mode org-mode)
|
||||
'("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "<!--"
|
||||
"<==" "<===" "<<=" "<=" "=>" "=>>" "==>" "===>" ">=" "<=>" "<==>" "<===>" "<====>" "<!---"
|
||||
"<~~" "<~" "~>" "~~>" "::" ":::" "==" "!=" "===" "!=="
|
||||
":=" ":-" ":+" "<*" "<*>" "*>" "<|" "<|>" "|>" "+:" "-:" "=:" "<******>" "++" "+++"
|
||||
"<:" "*=" "*+" "<." "<.>" ".>" "+*" "=*" ":>"
|
||||
"(*" "*)" "/*" "*/" "[|" "|]" "{|" "|}" "|-" "-|"))
|
||||
(ligature-set-ligatures 'markdown-mode '(("=" (rx (+ "=") (? (| ">" "<"))))
|
||||
("-" (rx (+ "-")))))
|
||||
'(("<" (rx (= 1 "=")))
|
||||
(">" (rx (= 1 "=")))
|
||||
("-" (rx (* "-") (? ">")))
|
||||
("=" (rx (* "=") (? ">")))
|
||||
("!" (rx (+ "=")))))
|
||||
(global-ligature-mode +1))
|
||||
#+end_src
|
||||
*** Font Showcase
|
||||
|
|
Loading…
Reference in a new issue