     :init
     (progn
       (add-hook 'tuareg-mode-hook 'merlin-mode)
-      ;; disable integration with auto-complete, we use flycheck
-      (set-default 'merlin-use-auto-complete-mode nil)
+      (set-default 'merlin-use-auto-complete-mode t)
       (push 'merlin-company-backend company-backends-merlin-mode)
       (evil-leader/set-key-for-mode 'tuareg-mode
         "met" 'merlin-type-enclosing


(setq ocaml-packages
  '(
    company
    flycheck
    flycheck-ocaml

    tuareg
    utop
    ))

(defun ocaml/post-init-auto-complete ()
  (spacemacs|enable-auto-complete merlin-mode))

(defun ocaml/post-init-company ()
  (spacemacs|add-company-hook merlin-mode))
