 (eval-after-load 'flycheck
   '(add-hook 'flycheck-mode-hook #'flycheck-elm-setup))
 
+(setq flycheck-check-syntax-automatically '(save mode-enabled))
+
 ;;;; flycheck
 (setq flycheck-check-syntax-automatically '(mode-enabled save))
 (require 'flycheck)

  (package-refresh-contents))
;; auto-complete
(setq package-list '(adaptive-wrap company-ghc company-jedi epc esup flycheck-rust
                     hindent intero jedi json-reformat dash magit
                     nix-mode persistent-scratch sublime-themes tabbar
                     tss typescript-mode visual-fill-column sublimity
                     ripgrep projectile-ripgrep idris-mode elm-mode

 '(ripgrep-arguments (quote ("-M200")))
 '(safe-local-variable-values
   (quote
    ((dante-repl-command-line "stack" "repl" "--ghc-options=\"-fno-code\"" dante-target)
     (dante-repl-command-line "stack" "repl" "--ghc-options=\"-j -fno-code -fobject-code\"" dante-target)
     (dante-repl-command-line "stack" "repl" dante-target)
     (dante-repl-command-line quote
                              ("stack" "repl" dante-target))
     (intero-targets . "externalogic:lib")
     (dante-repl-command-line
      (quote
       ("stack" "repl" dante-target)))
     (dante-repl-command-line
      ("stack" "ghci"))
     (dante-repl-command-line
      (quote
       ("stack" "ghci")))
     (dante-repl-command-line
      (quote
       ("stack ghci")))
     (dante-project-root "/home/kb/workspace/externalogic")
     (intero-targets "externalogic:lib")
     (intero-targets "externalogic:lib" "externalogic:exe:externalogic" "externalogic:test:test")
     (intero-targets "batonbooks:lib" "batonbooks:exe:batonbooks" "batonbooks:test:test")
     (intero-targets "servant-elm:lib" "servant-elm:exe:books-example" "servant-elm:exe:e2e-tests-example" "servant-elm:exe:giphy-example" "servant-elm:exe:readme-example" "servant-elm:test:servant-elm-test" "servant-elm:test:servant-elm-test-integration")
     (jedi:environment-root . "/home/kb/workspace/ThoughtLeadr/gordium/tldr-mediabuyer/env")
     (eval setenv "PYTHONPATH"
