 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)

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

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

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

(defun ycmd--handle-notify-response (response)
  "Handle RESPONSE from event notification."
  (if (ycmd--exception? response)
      (ycmd--handle-exception response)
    (ycmd--report-status 'parsed)
    (run-hook-with-args 'ycmd-file-parse-result-hook response)))

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