           (run-with-idle-timer
            ac-fsharp-idle-timeout
            t
-           (lambda () (ac-fsharp-get-errors)))))
+           'ac-fsharp-idle-handler)))
 
   ;(add-hook 'before-save-hook 'ac-fsharp-reparse-buffer)
   ;(local-set-key (kbd ".") 'completion-at-point)
   )
 
+(defun ac-fsharp-idle-handler ()
+  (ac-fsharp-get-errors)
+  (unless (fsharp-in-literal)
+    (ac-fsharp-tooltip-at-point)))
 
 ; Consider using 'text' for filtering
 ; TODO: This caching is a bit optimistic. It might not always be correct

(defvar ac-fsharp-blocking-timeout 1)
(defvar ac-fsharp-idle-timeout 1)

(defvar ac-fsharp-status 'idle)
(defvar ac-fsharp-completion-process nil)
(defvar ac-fsharp-partial-data "")

(defun ac-fsharp-tooltip-at-point ()
  "Fetch and display F# tooltips at point"
  (interactive)
  (when (ac-fsharp-can-make-request)
    (ac-fsharp-parse-current-buffer)
    (ac-fsharp-send-pos-request "tooltip"
