     (set-face-attribute 'rtags-warnline nil :foreground 'unspecified :background "khaki1")
     (set-face-attribute 'rtags-errline nil :foreground 'unspecified :background "light pink")
     (rtags-diagnostics)
-    (rtags-set-periodic-reparse-timeout 1)
+    (rtags-set-periodic-reparse-timeout 2)
     (rtags-enable-standard-keybindings))
   :diminish rtags-mode
   :bind

      (call-interactively (if (me:use-rtags t) #'rtags-find-file #'helm-gtags-find-files)))
    (setq rtags-autostart-diagnostics t
          rtags-use-helm t
          rtags-process-flags "--config ~/.config/rtags/config"
          rtags-completions-enabled t)
    (add-hook 'c-mode-common-hook #'rtags-start-process-unless-running)

   ("<f6> c"    . rtags-rename-symbol)
   ("<f6> ["    . rtags-location-stack-back)
   ("<f6> ]"    . rtags-location-stack-forward)
   ("<f6> m"    . helm-semantic-or-imenu)
   ("s-d"   . company-complete)))

;; N.B. to use, need to run irony-install-server, which requires libclang-dev
(use-package irony
