about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2022-01-17T23·04-0500
committergrfn <grfn@gws.fyi>2022-01-20T14·32+0000
commita366008053bda6a171709df8f410d21fa9a56e30 (patch)
tree3b08f85cba84a37737be135bcf6cb011d995011e
parentc364b1273b880d71f7c975bde74aff34a078c241 (diff)
fix(grfn/emacs): disable ligatures r/3644
these render very strangely,

Change-Id: I51f34007e49cdb9a4dc2d440459561b733183d86
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5024
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/emacs.d/config.el80
-rw-r--r--users/grfn/emacs.d/init.el2
2 files changed, 41 insertions, 41 deletions
diff --git a/users/grfn/emacs.d/config.el b/users/grfn/emacs.d/config.el
index 5312fd92b119..06178d7cc96e 100644
--- a/users/grfn/emacs.d/config.el
+++ b/users/grfn/emacs.d/config.el
@@ -13,7 +13,7 @@
   (setq doom-font (font-spec :family font-family :size 14)
         doom-big-font (font-spec :family font-family :size 24)
         doom-big-font-increment 5
-        doom-variable-pitch-font (font-spec :family "DejaVu Sans")
+        doom-variable-pitch-font (font-spec :family font-family)
         doom-unicode-font (font-spec :family font-family)))
 
 (require 's)
@@ -758,45 +758,45 @@
   (when (eq 'headline (car elt))
     (plist-get (cadr elt) :raw-value)))
 
-(setq +ligatures-extra-symbols
-      (append +ligatures-extra-symbols
-              '(:equal     "≡"
-                :not-equal "≠"
-                :is        "≣"
-                :isnt      "≢"
-                :lte       "≤"
-                :gte       "≥"
-                :subseteq  "⊆"
-                )))
-
-(after! python
-  (set-pretty-symbols! 'python-mode :merge t
-    :equal      "=="
-    :not-equal "!="
-    :lte "<="
-    :gte ">="
-    :is  "is"
-    :isnt "is not"
-    :subseteq "issubset"
-
-    ;; doom builtins
-
-    ;; Functional
-    :def "def"
-    :lambda "lambda"
-    ;; Types
-    :null "None"
-    :true "True" :false "False"
-    :int "int" :str "str"
-    :float "float"
-    :bool "bool"
-    :tuple "tuple"
-    ;; Flow
-    :not "not"
-    :in "in" :not-in "not in"
-    :and "and" :or "or"
-    :for "for"
-    :return "return" :yield "yield"))
+;; (setq +ligatures-extra-symbols
+;;       (append +ligatures-extra-symbols
+;;               '(:equal     "≡"
+;;                 :not-equal "≠"
+;;                 :is        "≣"
+;;                 :isnt      "≢"
+;;                 :lte       "≤"
+;;                 :gte       "≥"
+;;                 :subseteq  "⊆"
+;;                 )))
+
+;; (after! python
+;;   (set-pretty-symbols! 'python-mode :merge t
+;;     :equal      "=="
+;;     :not-equal "!="
+;;     :lte "<="
+;;     :gte ">="
+;;     :is  "is"
+;;     :isnt "is not"
+;;     :subseteq "issubset"
+
+;;     ;; doom builtins
+
+;;     ;; Functional
+;;     :def "def"
+;;     :lambda "lambda"
+;;     ;; Types
+;;     :null "None"
+;;     :true "True" :false "False"
+;;     :int "int" :str "str"
+;;     :float "float"
+;;     :bool "bool"
+;;     :tuple "tuple"
+;;     ;; Flow
+;;     :not "not"
+;;     :in "in" :not-in "not in"
+;;     :and "and" :or "or"
+;;     :for "for"
+;;     :return "return" :yield "yield"))
 
 (use-package! sqlup-mode
   :hook
diff --git a/users/grfn/emacs.d/init.el b/users/grfn/emacs.d/init.el
index 83cb3f09ac76..2518f2f79891 100644
--- a/users/grfn/emacs.d/init.el
+++ b/users/grfn/emacs.d/init.el
@@ -20,7 +20,7 @@
        (popup            ; tame sudden yet inevitable temporary windows
         +all             ; catch all popups that start with an asterix
         +defaults)       ; default popup rules
-       ligatures         ; replace bits of code with pretty symbols
+       ;; ligatures         ; replace bits of code with pretty symbols
        ;; tabbar            ; FIXME an (incomplete) tab bar for Emacs
        ;; treemacs          ; a project drawer, like neotree but cooler
        unicode           ; extended unicode support for various languages