     (define-key map "gt" 'ycmd-goto-type)
     (define-key map "s" 'ycmd-toggle-force-semantic-completion)
     (define-key map "v" 'ycmd-show-debug-info)
+    (define-key map "V" 'ycmd-version)
     (define-key map "d" 'ycmd-show-documentation)
     (define-key map "C" 'ycmd-clear-compilation-flag-cache)
     (define-key map "O" 'ycmd-restart-semantic-server)

  (dolist (it ycmd-file-type-map)
    (add-hook (intern (format "%s-hook" (symbol-name (car it)))) 'ycmd-mode)))
(make-obsolete 'ycmd-setup 'global-ycmd-mode "0.9.1")

(defun ycmd--maybe-enable-mode ()
  "Enable `ycmd-mode' according `ycmd-global-modes'."

    "---"
    ["Show debug info" ycmd-show-debug-info]
    ["Log enabled" ycmd-toggle-log-enabled
     :style toggle :selected ycmd--log-enabled]
    ["Show version" ycmd-version t]))

(defmacro ycmd--kill-timer (timer)
  "Cancel TIMER."
