aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/config.org16
1 files changed, 10 insertions, 6 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index ec1945a..a67ee2a 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -2498,14 +2498,17 @@ mouthful). It's quite a beautiful language and really learning it will
change the way you think about programming.
Here I configure the REPL for Haskell via the
-=interactive-haskell-mode= as well.
+=haskell-interactive-mode= as well.
#+begin_src emacs-lisp
(use-package haskell-mode
:hook
(haskell-mode-hook . haskell-indentation-mode)
(haskell-mode-hook . interactive-haskell-mode)
:custom
+ (haskell-interactive-prompt "[λ] ")
+ (haskell-interactive-prompt-cont "{λ} ")
(haskell-interactive-popup-errors nil)
+ (haskell-stylish-on-save nil)
(haskell-process-type 'stack-ghci)
:general
(leader
@@ -2518,7 +2521,7 @@ Here I configure the REPL for Haskell via the
(+dx/create-toggle-function
+shell/toggle-haskell-repl
"*haskell*"
- haskell-process-restart))
+ haskell-interactive-bring))
#+end_src
** Python
Basic, haven't used python in this configuration yet.
@@ -2555,15 +2558,16 @@ Setup for python shell, including a toggle option
:commands +python/toggle-repl
:general
(leader
- "tp" #'+python/toggle-repl)
+ "tp" #'+shell/python-toggle-repl)
:display
("\\*Python\\*"
(display-buffer-at-bottom)
(window-height . 0.25))
:config
- (+dx/create-toggle-function +python/toggle-repl
- "*Python*"
- run-python))
+ (+dx/create-toggle-function
+ +shell/python-toggle-repl
+ "*Python*"
+ run-python))
#+end_src
** YAML
YAML is a data language which is useful for config files.