diff --git a/emacs/config.el b/emacs/config.el index 2b34293..02fb817 100644 --- a/emacs/config.el +++ b/emacs/config.el @@ -3,8 +3,13 @@ ;; Use "," as leader. (setq doom-localleader-key ",") +;; Firacode is broken with Emacs-plus on osx. Fallback to Hasklig. +(if IS-MAC + (setq doom-font (font-spec :family "Hasklig" :size 12)) + (setq doom-font (font-spec :family "FuraCode NF" :size 12)) + ) +;; ;; Set font -(setq doom-font (font-spec :family "FuraCode NF" :size 12)) (pcase (system-name) ("zuk" ;; Wayland support for high HDPI scaling has some issues. diff --git a/emacs/init.el b/emacs/init.el index 1e91944..ed96fc9 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -48,7 +48,9 @@ +all ; catch all popups that start with an asterix +defaults) ; default popup rules (pretty-code ; replace bits of code with pretty symbols - +fira) + (:if IS-MAC +hasklig) ; Pretty-code doesn't work with Fira on OSX. Falling back to hasklig. + (:if IS-LINUX +fira) + ) tabs ; an tab bar for Emacs treemacs ; a project drawer, like neotree but cooler unicode ; extended unicode support for various languages