diff options
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 481935c..dc764f6 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -586,10 +586,11 @@ given keymap or in the global keymap." :custom (haskell-tags-on-save t) (haskell-process-type 'cabal-repl) + (haskell-process-auto-import-loaded-modules t) :hook (haskell-mode . interactive-haskell-mode)) (use-package opam-switch-mode :config - (when (file-exists-p "~/.opam") + (when (and (file-exists-p "~/.opam") (executable-find "opam")) (opam-switch-set-switch "default"))) (use-package tuareg :after opam-switch-mode) |
