- SPC o r now prompts for a REPL to open when none was found for the current buffer. - REPL handlers must now follow the naming convention "*/open*-repl". e.g. +python/open-ipython-repl, +emacs-lisp/open-repl, etc. - +eval/open-repl has been split in two: - +eval/open-repl-other-window - +eval/open-repl-same-window
10 lines
301 B
EmacsLisp
10 lines
301 B
EmacsLisp
;;; lang/haskell/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
;;;###autoload
|
|
(defun +haskell/open-repl (&optional arg)
|
|
"Opens a Haskell REPL."
|
|
(interactive "P")
|
|
(display-buffer
|
|
(if (featurep! +intero)
|
|
(intero-repl-buffer arg)
|
|
(haskell-session-interactive-buffer (haskell-session)))))
|