Skip to content

Instantly share code, notes, and snippets.

@ghost355
Last active September 30, 2015 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghost355/22f6d6725cd01bd56c93 to your computer and use it in GitHub Desktop.
Save ghost355/22f6d6725cd01bd56c93 to your computer and use it in GitHub Desktop.
Add this file dir.locals.el in root of your home folder or root of your Haskell projects folder or into each of folder your Haskel projects
((haskell-mode
. ((haskell-indent-spaces . 2)
(hindent-style . "gibiansky")
(haskell-process-type . stack-ghci)
(haskell-process-path-ghci . "stack")
(haskell-process-args-ghci . ("ghci"))
(haskell-process-args-stack-ghci . ("--ghc-options=-ferror-spans" "--with-ghc=ghci-ng"))))
(haskell-cabal-mode
. ((haskell-process-type . stack-ghci)
(haskell-process-path-ghci . "stack")
(haskell-process-args-ghci . ("ghci"))
(haskell-process-args-stack-ghci . ("--ghc-options=-ferror-spans" "--with-ghc=ghci-ng")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment