 ;; Author: Austin Bingham <austin.bingham@gmail.com>
 ;; Version: 0.1
 ;; URL: https://github.com/abingham/emacs-ycmd
-;; Package-Requires: ((request "0.2.0") (deferred "0.3.2") (request-deferred "0.2.0"))
+;; Package-Requires: ((anaphoa "1.0.0") (request "0.2.0") (deferred "0.3.2") (request-deferred "0.2.0"))
 ;;
 ;; This file is not part of GNU Emacs.
 ;;

;;
;; ycmd depends on the following packages:
;;
;;   deferred
;;   request
;;   request-deferred

       (_ . text)
       (_ . ranges))
      r
    (awhen (find-buffer-visiting filepath)
      (with-current-buffer it
        (let ((start-pos (ycmd--col-line-to-position
                          start-column-num
                          start-line-num))
              (end-pos (ycmd--col-line-to-position
                        end-column-num
                        end-line-num))
              (face (assoc-default kind ycmd--file-ready-faces)))
          (with-silent-modifications
            (set-text-properties
             start-pos end-pos `(font-lock-face ,face))))))))

(defun ycmd--decorate-with-parse-results (results)
  "Decorates a buffer using the results of a file-ready parse
list."
  (with-silent-modifications
    (set-text-properties (point-min) (point-max) nil))
  (mapcar 'ycmd--decorate-single-parse-result results)
  results)

(defun ycmd-notify-file-ready-to-parse ()
  (when (ycmd--major-mode-to-file-types major-mode)
