     :ensure t
     :config
     (global-company-mode))
-
-  ;; ;; Language Server Protocol Plugin.
-  ;; ;; The actual plugin used to communicate with cquery.
-  ;; ;; https://github.com/emacs-lsp/lsp-mode
-  ;; (use-package lsp-mode
-  ;;   :ensure t
-  ;;   :config
-  ;;   (setq lsp-prefer-flymake nil)
-  ;;   )
-
-  ;; ;; Flycheck and other IDE-feature support for LSP.
-  ;; ;; This has the "fancy features" and should be customized.
-  ;; ;; Personally, I turned the symbol highlighting off.
-  ;; ;; https://github.com/emacs-lsp/lsp-ui
-  ;; (use-package lsp-ui
-  ;;   :ensure t
-  ;;   :config
-  ;;   (setq lsp-ui-sideline-ignore-duplicate t)
-  ;;   (add-hook 'lsp-mode-hook #'lsp-ui-mode))
-
-  ;; ;; LSP backend for Company.
-  ;; ;; https://github.com/tigersoldier/company-lsp
-  ;; (use-package company-lsp
-  ;;   :ensure t
-  ;;   :config
-  ;;   (setq company-lsp-enable-recompletion t)
-  ;;   (add-to-list 'company-backends 'company-lsp))
-
-  ;; Client to configure and auto-start cquery.
-  ;; https://github.com/cquery-project/emacs-cquery
-  ;; (use-package cquery
-  ;;   :ensure t
-  ;;   :config
-  ;;   (setq cquery-executable "/home/linuxbrew/.linuxbrew/bin/cquery")
-  ;;   (setq cquery-extra-init-params '(:completion (:detailedLabel t))))
-
-  ;; (require 'lsp-clients)
-  ;; (require 'cquery)
-  ;; (setq cquery-executable "/home/linuxbrew/.linuxbrew/bin/cquery")
-  ;; ;; (require 'ccls)
-  ;; ;; (setq ccls-executable "/home/aschmitz/.local/bin/ccls")
-  ;; (add-hook 'python-mode-hook 'lsp)
-  ;; (add-hook 'c++-mode-hook 'lsp)
-
-  ;; (lsp-register-client
-  ;;  (make-lsp-client :new-connection (lsp-stdio-connection "~/bin/clojure-lsp")
-  ;;                   :major-modes '(clojure-mode)
-  ;;                   :server-id 'clojure-lsp))
-
+  (use-package company-rtags
+    :ensure t
+    :config
+    (push 'company-rtags company-backends)
+    )
+  
   ;;
   ;; Helm mode
   ;;

    :ensure t
    :config
    (global-flycheck-mode))

  (setq flycheck-clang-args
        '(
          "-W"
          "-Wall"
          "-Wshadow"
          "-Werror"
          )
        )
  
  (setq flycheck-clang-definitions
        '(
          "BUILD_COMPILER_DIR=\"ilglcg\""
          "BUILD_DIR=\"neuraln\""
          "BUILD_HAS_PAPI=1"
          "DEBUG=1"
          "DEBUGO=1"
          "INHOUSE=1"
          )
        )

  (setq flycheck-clang-includes
        '(
          "/home/aschmitz/Programs/mrec/mrecutil/mrec.h"
          )
        )
  
  (setq flycheck-clang-include-path
        '(
          "/home/aschmitz/Programs/mrec/alien/lint"
          "/home/aschmitz/Programs/mrec/alien/pal"
          "/home/aschmitz/Programs/mrec/alien/pal/common"
          "/home/aschmitz/Programs/mrec/alien/pal/crc32"
          "/home/aschmitz/Programs/mrec/alien/pal/linkedlist"
          "/home/aschmitz/Programs/mrec/alien/pal/win32"
          "/home/aschmitz/Programs/mrec/alien/papi"
          "/home/aschmitz/Programs/mrec/alien/sort"
          "/home/aschmitz/Programs/mrec/alien/xercesc/include/xercesc/util/MsgLoaders/Win32"
          "/home/aschmitz/Programs/mrec/alien/zlib"
          "/home/aschmitz/Programs/mrec/alien/zstd/common"
          "/home/aschmitz/Programs/mrec/alien/zstd/compress"
          "/home/aschmitz/Programs/mrec/alien/zstd/decompress"
          "/home/aschmitz/Programs/mrec/alien/zstd/inc"
          "/home/aschmitz/Programs/mrec/audiosrc"
          "/home/aschmitz/Programs/mrec/audiosrc.inc"
          "/home/aschmitz/Programs/mrec/bin/ilglcx/mrec.env/lib/python2.7/site-packages/wheel/test/headers.dist"
          "/home/aschmitz/Programs/mrec/builtinc/ilglcx"
          "/home/aschmitz/Programs/mrec/channel"
          "/home/aschmitz/Programs/mrec/channel.inc"
          "/home/aschmitz/Programs/mrec/credits"
          "/home/aschmitz/Programs/mrec/dfutil"
          "/home/aschmitz/Programs/mrec/fileutil"
          "/home/aschmitz/Programs/mrec/frame.inc"
          "/home/aschmitz/Programs/mrec/fst"
          "/home/aschmitz/Programs/mrec/fstgraph"
          "/home/aschmitz/Programs/mrec/fstgraph.inc"
          "/home/aschmitz/Programs/mrec/fst.inc"
          "/home/aschmitz/Programs/mrec/germ.inc"
          "/home/aschmitz/Programs/mrec/hello1"
          "/home/aschmitz/Programs/mrec/kernel"
          "/home/aschmitz/Programs/mrec/lm"
          "/home/aschmitz/Programs/mrec/lm.inc"
          "/home/aschmitz/Programs/mrec/make.inc/ilglcx/MREC_ilglcx.env/lib/python2.7/site-packages/wheel/test/headers.dist"
          "/home/aschmitz/Programs/mrec/mrecutil"
          "/home/aschmitz/Programs/mrec/net"
          "/home/aschmitz/Programs/mrec/net.inc"
          "/home/aschmitz/Programs/mrec/neuraln"
          "/home/aschmitz/Programs/mrec/neuraln.inc"
          "/home/aschmitz/Programs/mrec/nistplay"
          "/home/aschmitz/Programs/mrec/pel.inc"
          "/home/aschmitz/Programs/mrec/phoneme.inc"
          "/home/aschmitz/Programs/mrec/prefilt"
          "/home/aschmitz/Programs/mrec/prefilt.inc"
          "/home/aschmitz/Programs/mrec/pypkg/ilglcx/sphinx.env/lib/python2.7/site-packages/wheel/test/headers.dist"
          "/home/aschmitz/Programs/mrec/rdspec"
          "/home/aschmitz/Programs/mrec/recogctl"
          "/home/aschmitz/Programs/mrec/sdapi"
          "/home/aschmitz/Programs/mrec/sdclidll"
          "/home/aschmitz/Programs/mrec/sdspec"
          "/home/aschmitz/Programs/mrec/sdspec/builtsrc/ilglcx"
          "/home/aschmitz/Programs/mrec/sdxg1"
          "/home/aschmitz/Programs/mrec/sdxg2"
          "/home/aschmitz/Programs/mrec/sdxgspec"
          "/home/aschmitz/Programs/mrec/sigproc"
          "/home/aschmitz/Programs/mrec/sigproc.inc"
          "/home/aschmitz/Programs/mrec/svsd"
          "/home/aschmitz/Programs/mrec/svsdclidll"
          "/home/aschmitz/Programs/mrec/svsdspec"
          "/home/aschmitz/Programs/mrec/user.inc"
          "/home/aschmitz/Programs/mrec/voc.inc"
          "/home/aschmitz/Programs/mrec/wavelib"
          "/home/aschmitz/Programs/mrec/wavelib.inc"
          "/home/aschmitz/Programs/mrec/word.inc"
          "/home/aschmitz/Programs/mrec/ilglcx"
          "/home/aschmitz/Programs/mrec/sdspec/builtsrc/ilglcg"
          )
        )
  
  ;; Auto-completions.
  ;; There's also `C-M-i`, but this is async.

  (define-key global-map (kbd "C-<") (function rtags-find-virtuals-at-point))
  (define-key global-map (kbd "M-i") (function tags-imenu))

  ;; Syntax checking.
  ;; Should be automatic.
  ;; http://www.flycheck.org/en/latest/
