fix(grfn/emacs): disable ligatures

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
This commit is contained in:
Griffin Smith 2022-01-17 18:04:43 -05:00 committed by grfn
parent c364b1273b
commit a366008053
2 changed files with 38 additions and 38 deletions

View file

@ -13,7 +13,7 @@
(setq doom-font (font-spec :family font-family :size 14) (setq doom-font (font-spec :family font-family :size 14)
doom-big-font (font-spec :family font-family :size 24) doom-big-font (font-spec :family font-family :size 24)
doom-big-font-increment 5 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))) doom-unicode-font (font-spec :family font-family)))
(require 's) (require 's)
@ -758,45 +758,45 @@
(when (eq 'headline (car elt)) (when (eq 'headline (car elt))
(plist-get (cadr elt) :raw-value))) (plist-get (cadr elt) :raw-value)))
(setq +ligatures-extra-symbols ;; (setq +ligatures-extra-symbols
(append +ligatures-extra-symbols ;; (append +ligatures-extra-symbols
'(:equal "" ;; '(:equal "≡"
:not-equal "" ;; :not-equal "≠"
:is "" ;; :is "≣"
:isnt "" ;; :isnt "≢"
:lte "" ;; :lte "≤"
:gte "" ;; :gte "≥"
:subseteq "" ;; :subseteq "⊆"
))) ;; )))
(after! python ;; (after! python
(set-pretty-symbols! 'python-mode :merge t ;; (set-pretty-symbols! 'python-mode :merge t
:equal "==" ;; :equal "=="
:not-equal "!=" ;; :not-equal "!="
:lte "<=" ;; :lte "<="
:gte ">=" ;; :gte ">="
:is "is" ;; :is "is"
:isnt "is not" ;; :isnt "is not"
:subseteq "issubset" ;; :subseteq "issubset"
;; doom builtins ;; ;; doom builtins
;; Functional ;; ;; Functional
:def "def" ;; :def "def"
:lambda "lambda" ;; :lambda "lambda"
;; Types ;; ;; Types
:null "None" ;; :null "None"
:true "True" :false "False" ;; :true "True" :false "False"
:int "int" :str "str" ;; :int "int" :str "str"
:float "float" ;; :float "float"
:bool "bool" ;; :bool "bool"
:tuple "tuple" ;; :tuple "tuple"
;; Flow ;; ;; Flow
:not "not" ;; :not "not"
:in "in" :not-in "not in" ;; :in "in" :not-in "not in"
:and "and" :or "or" ;; :and "and" :or "or"
:for "for" ;; :for "for"
:return "return" :yield "yield")) ;; :return "return" :yield "yield"))
(use-package! sqlup-mode (use-package! sqlup-mode
:hook :hook

View file

@ -20,7 +20,7 @@
(popup ; tame sudden yet inevitable temporary windows (popup ; tame sudden yet inevitable temporary windows
+all ; catch all popups that start with an asterix +all ; catch all popups that start with an asterix
+defaults) ; default popup rules +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 ;; tabbar ; FIXME an (incomplete) tab bar for Emacs
;; treemacs ; a project drawer, like neotree but cooler ;; treemacs ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages unicode ; extended unicode support for various languages