fix(emacs): add ligature
package
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
e249a4d2ad
commit
082f03cce2
1 changed files with 16 additions and 0 deletions
|
@ -82,6 +82,22 @@
|
||||||
("TEMP" . "#ffffff")
|
("TEMP" . "#ffffff")
|
||||||
("FIXME" . "#ffffff")
|
("FIXME" . "#ffffff")
|
||||||
("XXXX*" . "#ffffff"))))
|
("XXXX*" . "#ffffff"))))
|
||||||
|
(use-package ligature :straight t
|
||||||
|
:config
|
||||||
|
(ligature-set-ligatures 'prog-mode '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>"
|
||||||
|
":::" "::=" "=:=" "===" "==>" "=!=" "=>>" "=<<" "=/=" "!=="
|
||||||
|
"!!." ">=>" ">>=" ">>>" ">>-" ">->" "->>" "-->" "---" "-<<"
|
||||||
|
"<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->"
|
||||||
|
"<--" "<-<" "<<=" "<<-" "<<<" "<+>" "</>" "###" "#_(" "..<"
|
||||||
|
"..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~="
|
||||||
|
"~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|"
|
||||||
|
"[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:"
|
||||||
|
">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:"
|
||||||
|
"<$" "<=" "<>" "<-" "<<" "<+" "</" "#{" "#[" "#:" "#=" "#!"
|
||||||
|
"##" "#(" "#?" "#_" "%%" ".=" ".-" ".." ".?" "+>" "++" "?:"
|
||||||
|
"?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||||
|
"\\\\" "://"))
|
||||||
|
(global-ligature-mode t))
|
||||||
|
|
||||||
(provide 'priime-ui)
|
(provide 'priime-ui)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue