 The timeout can be set with the variable
 `ycmd-startup-timeout'."
   (let ((server-start-time (float-time))
-         server-started)
+        server-started)
     (while (and (not server-started) (ycmd-running?))
       (sit-for 0.1)
       (if (ycmd--server-ready? :include-subserver)

    (message "%s" (concat (when is-error "ERROR: ")
                          (if msg msg "Unknown exception.")))))

(defun ycmd--handle-notify-response (results)
  "If RESULTS is a vector or nil, the response is an acual parse result.
Otherwise the response is probably an exception."
  (if (and (not (vectorp results))
           (assq 'exception results))
      (ycmd--handle-exception results)
    (ycmd--report-status 'parsed)
    (run-hook-with-args 'ycmd-file-parse-result-hook results)))

(defun ycmd--notify-server (event-name &optional event-content-alist)
  "Send a simple event notification for EVENT-NAME to the

          (ycmd--request "/run_completer_command"
                         content :parser 'json-read)
          (deferred:nextc it
            (lambda (response)
              (when response
                (if (ycmd--exception? response)
                    (progn
                      (ycmd--handle-exception response)
                      (run-hook-with-args 'ycmd-after-exception-hook
                                          subcommand buffer pos response))
                  (when success-handler
                    (funcall success-handler response)))))))))))

(defun ycmd-goto ()
  "Go to the definition or declaration of the symbol at current position."
