From 1f7ae7e91fc3cc122e137fd75307e8436f3febd5 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 30 Nov 2021 15:04:22 +0300 Subject: [PATCH] Use fira-code ligatures --- profiles/applications/emacs/default.nix | 2 +- profiles/applications/emacs/init.el | 6 ++---- profiles/workspace/fonts.nix | 3 ++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/profiles/applications/emacs/default.nix b/profiles/applications/emacs/default.nix index 727472e..66fb29f 100644 --- a/profiles/applications/emacs/default.nix +++ b/profiles/applications/emacs/default.nix @@ -44,7 +44,6 @@ in { rainbow-delimiters diff-hl mode-line-bell - hasklig-mode flycheck flycheck-pkg-config auto-indent-mode @@ -81,6 +80,7 @@ in { org-caldav evil tuareg + fira-code-mode ]; }; diff --git a/profiles/applications/emacs/init.el b/profiles/applications/emacs/init.el index 9d27650..22d14f7 100755 --- a/profiles/applications/emacs/init.el +++ b/profiles/applications/emacs/init.el @@ -75,10 +75,8 @@ (when (not window-system) (xterm-mouse-mode 1)) - - -(use-package hasklig-mode - :hook (haskell-mode)) +(use-package fira-code-mode + :config (global-fira-code-mode)) (use-package company-ghci :config diff --git a/profiles/workspace/fonts.nix b/profiles/workspace/fonts.nix index a3d2654..33fdf66 100644 --- a/profiles/workspace/fonts.nix +++ b/profiles/workspace/fonts.nix @@ -2,10 +2,11 @@ fonts = { fonts = with pkgs; [ ibm-plex - hasklig nerdfonts material-design-icons material-icons + fira-code + fira-code-symbols ]; fontconfig = let fonts = config.themes.fonts; in {