[haskell-layer] Fixed ghci-ng for stack projects
This commit is contained in:
parent
93cfc876a6
commit
5c92f7dc2c
|
@ -202,6 +202,10 @@
|
|||
(setq haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans" "--with-ghc=ghci-ng"))
|
||||
;; if haskell-process-type == GHCi
|
||||
(setq haskell-process-path-ghci "ghci-ng")
|
||||
;; fixes ghci-ng for stack projects
|
||||
(setq haskell-process-wrapper-function
|
||||
(lambda (args)
|
||||
(append args (list "--with-ghc" "ghci-ng"))))
|
||||
|
||||
(spacemacs/set-leader-keys-for-major-mode 'haskell-mode
|
||||
;; function suggested in
|
||||
|
|
Loading…
Reference in New Issue