We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5201ac commit 6c87d4aCopy full SHA for 6c87d4a
haskell-commands.el
@@ -37,6 +37,11 @@
37
(require 'highlight-uses-mode)
38
(require 'haskell-cabal)
39
40
+(defcustom haskell-mode-stylish-haskell-path "stylish-haskell"
41
+ "Path to `stylish-haskell' executable."
42
+ :group 'haskell
43
+ :type 'string)
44
+
45
;;;###autoload
46
(defun haskell-process-restart ()
47
"Restart the inferior Haskell process."
@@ -779,7 +784,7 @@ inferior GHCi process."
779
784
(interactive)
780
785
(let ((column (current-column))
781
786
(line (line-number-at-pos)))
782
- (haskell-mode-buffer-apply-command "stylish-haskell")
787
+ (haskell-mode-buffer-apply-command haskell-mode-stylish-haskell-path)
783
788
(goto-char (point-min))
789
(forward-line (1- line))
790
(goto-char (+ column (point)))))
0 commit comments