         "cc" 'compile)
       ;; Make OCaml-generated files invisible to filename completion
       (dolist (ext '(".cmo" ".cmx" ".cma" ".cmxa" ".cmi" ".cmxs" ".cmt" ".annot"))
-        (add-to-list 'completion-ignored-extensions ext)))
-    :config
-    (with-eval-after-load 'smartparens
-      ;; don't auto-close apostrophes (type 'a = foo) and backticks (`Foo)
-      (sp-local-pair 'tuareg-mode "'" nil :actions nil)
-      (sp-local-pair 'tuareg-mode "`" nil :actions nil))))
+        (add-to-list 'completion-ignored-extensions ext)))))
 
 (defun ocaml/init-utop ()
   (use-package utop

      (progn
        (with-eval-after-load 'merlin
          (setq merlin-error-after-save nil)
          (flycheck-ocaml-setup))
        ))))

(defun ocaml/init-merlin ()
  (use-package merlin

        "hh" 'merlin-document
        "ht" 'merlin-type-enclosing
        "hT" 'merlin-type-expr
        "rd" 'merlin-destruct))))

(defun ocaml/init-ocp-indent ()
  (use-package ocp-indent
    :defer t
    :init
    (add-hook 'tuareg-mode-hook 'ocp-indent-caml-mode-setup)))

(defun ocaml/post-init-smartparens ()
  (with-eval-after-load 'smartparens
    ;; don't auto-close apostrophes (type 'a = foo) and backticks (`Foo)
    (sp-local-pair 'tuareg-mode "'" nil :actions nil)
    (sp-local-pair 'tuareg-mode "`" nil :actions nil)))

(defun ocaml/init-tuareg ()
  (use-package tuareg
