From 1aa826227e052fb2f62df54b1599ec883df01799 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 24 Jul 2021 03:13:37 +0100 Subject: (Emacs)~minor edits ~haskell-process-type is now stack-ghci +feature to switch to dashboard with each new frame --- Emacs/.config/emacs/config.org | 1 + Emacs/.config/emacs/init.el | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 18a1091..7087d0e 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2506,6 +2506,7 @@ Here I configure the REPL for Haskell via the (haskell-mode-hook . interactive-haskell-mode) :custom (haskell-interactive-popup-errors nil) + (haskell-process-type 'stack-ghci) :general (leader "th" #'+shell/toggle-haskell-repl) diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index bed923e..185cfbb 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -90,7 +90,11 @@ (require 'notmuch) (require 'company) (require 'org) - (require 'eglot)) + (require 'eglot) + (if (fboundp 'server-after-make-frame-hook) + (add-hook server-after-make-frame-hook + #'dashboard-refresh-buffer) + (setq server-after-make-frame-hook '(dashboard-refresh-buffer)))) (setq gc-cons-threshold 100000000) -- cgit v1.2.3-13-gbd6f