From a366008053bda6a171709df8f410d21fa9a56e30 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 17 Jan 2022 18:04:43 -0500 Subject: fix(grfn/emacs): disable ligatures these render very strangely, Change-Id: I51f34007e49cdb9a4dc2d440459561b733183d86 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5024 Reviewed-by: grfn Autosubmit: grfn Tested-by: BuildkiteCI --- users/grfn/emacs.d/config.el | 80 ++++++++++++++++++++++---------------------- users/grfn/emacs.d/init.el | 2 +- 2 files changed, 41 insertions(+), 41 deletions(-) (limited to 'users') 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 -- cgit 1.4.1