Skip to content

Instantly share code, notes, and snippets.

@ghost355
ghost355 / .dir.locals.el
Last active September 30, 2015 21:07
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")
@ghost355
ghost355 / .spacemacs
Created September 30, 2015 20:49
My .spacemacs config file. Working well with Haskell stack only environment.
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration."
(setq-default
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()