From 91db76b2004094364cd3bcaa0998960f590cabf2 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 11 Jan 2024 14:59:34 +0000 Subject: [PATCH] Reduce amount of ligatures to bare essential --- README.org | 60 ++++-------------------------------------------------- 1 file changed, 4 insertions(+), 56 deletions(-) diff --git a/README.org b/README.org index eabbe72..731923f 100644 --- a/README.org +++ b/README.org @@ -344,62 +344,10 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia :ensure t :diminish :config - ;; Enable all ligatures in programming modes - (ligature-set-ligatures '(prog-mode) - '(;; == === ==== => =| =>>=>=|=>==>> ==< =/=//=// =~ - ;; =:= =!= - ("=" (rx (+ (or ">" "<" "|" "/" "~" ":" "!" "=")))) - ;; ;; ;;; - (";" (rx (+ ";"))) - ;; && &&& - ("&" (rx (+ "&"))) - ;; !! !!! !. !: !!. != !== !~ - ("!" (rx (+ (or "=" "!" "\." ":" "~")))) - ;; ?? ??? ?: ?= ?. - ("?" (rx (or ":" "=" "\." (+ "?")))) - ;; %% %%% - ("%" (rx (+ "%"))) - ;; |> ||> |||> ||||> |] |} || ||| |-> ||-|| - ;; |->>-||-<<-| |- |== ||=|| - ;; |==>>==<<==<=>==//==/=!==:===> - ("|" (rx (+ (or ">" "<" "|" "/" ":" "!" "}" "\]" - "-" "=" )))) - ;; \\ \\\ \/ - ("\\" (rx (or "/" (+ "\\")))) - ;; ++ +++ ++++ +> - ("+" (rx (or ">" (+ "+")))) - ;; :: ::: :::: :> :< := :// ::= - (":" (rx (or ">" "<" "=" "//" ":=" (+ ":")))) - ;; // /// //// /\ /* /> /===:===!=//===>>==>==/ - ("/" (rx (+ (or ">" "<" "|" "/" "\\" "\*" ":" "!" - "=")))) - ;; .. ... .... .= .- .? ..= ..< - ("\." (rx (or "=" "-" "\?" "\.=" "\.<" (+ "\.")))) - ;; -- --- ---- -~ -> ->> -| -|->-->>->--<<-| - ("-" (rx (+ (or ">" "<" "|" "~" "-")))) - ;; ** *** **** - ("*" (rx (+ "*"))) - ;; <>