Created
August 30, 2021 05:55
-
-
Save jmibanez/b14228a3f8e4aab910f2846496e51e49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; emacs-mac only; see next for emacs-plus config | |
;; (mac-auto-operator-composition-mode) ;; Needed for ligatures in Fira Code | |
;; ligature.el isn't in MELPA yet, so pull it in from our local elisp load path | |
(use-package ligature | |
:config | |
(ligature-set-ligatures 't '("www")) | |
;; Enable ligatures in programming modes | |
(ligature-set-ligatures 'prog-mode '("www" "**" "***" "**/" "*>" "*/" "\\\\" "\\\\\\" "{-" "::" | |
":::" ":=" "!!" "!=" "!==" "-}" "----" "-->" "->" "->>" | |
"-<" "-<<" "-~" "#{" "#[" "##" "###" "####" "#(" "#?" "#_" | |
"#_(" ".-" ".=" ".." "..<" "..." "?=" "??" ";;" "/*" "/**" | |
"/=" "/==" "/>" "//" "///" "&&" "||" "||=" "|=" "|>" "^=" "$>" | |
"++" "+++" "+>" "=:=" "==" "===" "==>" "=>" "=>>" "<=" | |
"=<<" "=/=" ">-" ">=" ">=>" ">>" ">>-" ">>=" ">>>" "<*" | |
"<*>" "<|" "<|>" "<$" "<$>" "<!--" "<-" "<--" "<->" "<+" | |
"<+>" "<=" "<==" "<=>" "<=<" "<>" "<<" "<<-" "<<=" "<<<" | |
"<~" "<~~" "</" "</>" "~@" "~-" "~>" "~~" "~~>" "%%")) | |
(global-ligature-mode 't) | |
:load-path "~/elisp/ligature.el") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment