 ;;; undo-tree
 (require 'undo-tree)
 (global-undo-tree-mode)
+
 ;;; rainbow parens
 (require 'rainbow-delimiters)
 (add-hook 'prog-mode-hook 'rainbow-delimiters-mode)


;;; solarized
(load-theme 'solarized t)
(add-hook 'after-make-frame-functions
	  (lambda (frame)
	    (set-frame-parameter frame
				 'background-mode
				 (if (display-graphic-p frame) 'light 'dark))
	                (enable-theme 'solarized)))
;;; haskell
;;(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(add-hook 'haskell-mode-hook
          (lambda () (interactive)
            (local-set-key (kbd "TAB") (kbd "SPC SPC"))

;;; Projectile everywhere
(require 'projectile)
(projectile-global-mode)
