   (package-refresh-contents)
   (package-install 'clang-format)
   (package-install 'company)
+  (package-install 'company-lsp)
   (package-install 'cquery)
   (package-install 'elpy)
   (package-install 'fill-column-indicator)

(setq cquery-executable "/usr/local/bin/cquery")
(setq cquery-sem-highlight-method 'font-lock)
;; alternatively, (setq cquery-sem-highlight-method 'overlay)

;; For rainbow semantic highlighting
(cquery-use-default-rainbow-sem-highlight)

(add-hook 'projectile-idle-timer-hook #'my-projectile-idle-timer-function)

;;; cquery and lsp -- semantic parsing of C++ code. Find definitions and calls, etc
(require 'lsp-ui)
(add-hook 'lsp-mode-hook 'lsp-ui-mode)
(require 'lsp-mode)
(require 'lsp-clients)
(add-hook 'c++-mode-hook #'lsp)
