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
|
:config
|
||||||
(ligature-set-ligatures
|
(ligature-set-ligatures
|
||||||
'(text-mode prog-mode org-mode)
|
'(text-mode prog-mode org-mode)
|
||||||
'("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "<!--"
|
'(("<" (rx (= 1 "=")))
|
||||||
"<==" "<===" "<<=" "<=" "=>" "=>>" "==>" "===>" ">=" "<=>" "<==>" "<===>" "<====>" "<!---"
|
(">" (rx (= 1 "=")))
|
||||||
"<~~" "<~" "~>" "~~>" "::" ":::" "==" "!=" "===" "!=="
|
("-" (rx (* "-") (? ">")))
|
||||||
":=" ":-" ":+" "<*" "<*>" "*>" "<|" "<|>" "|>" "+:" "-:" "=:" "<******>" "++" "+++"
|
("=" (rx (* "=") (? ">")))
|
||||||
"<:" "*=" "*+" "<." "<.>" ".>" "+*" "=*" ":>"
|
("!" (rx (+ "=")))))
|
||||||
"(*" "*)" "/*" "*/" "[|" "|]" "{|" "|}" "|-" "-|"))
|
|
||||||
(ligature-set-ligatures 'markdown-mode '(("=" (rx (+ "=") (? (| ">" "<"))))
|
|
||||||
("-" (rx (+ "-")))))
|
|
||||||
(global-ligature-mode +1))
|
(global-ligature-mode +1))
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Font Showcase
|
*** Font Showcase
|
||||||
|
|
Loading…
Reference in a new issue