   :hook (python-mode . sphinx-doc-mode))
 
 (use-package flycheck
+  :ensure t
   :init (global-flycheck-mode)
+  ; Disable some checkers
+  ; disable jshint since we prefer eslint checking
   :config (setq-default flycheck-disabled-checkers
                         (append flycheck-disabled-checkers
                                 '(javascript-jshint)
                                 '(python-flake8)))
   (flycheck-add-mode 'javascript-eslint 'web-mode)
+  :hook
+  (c++-mode . (lambda () (setq flycheck-gcc-include-path
+                           (list (expand-file-name "/usr/local/include/bsoncxx/v_noabi")))))
 )
 
 (use-package flycheck-yamllint

  (setq ccls-executable "/usr/local/bin/ccls")
  :hook ((c-mode c++-mode objc-mode) .
         (lambda () (require 'ccls) (lsp))))


;;;; ELPY Python support -- not LSP based
;; (use-package elpy

  (package-refresh-contents)
  (package-install 'use-package))

; Collect statistics on pacakges loaded with use-package.
(setq-default use-package-compute-statistics t)

(use-package diminish
  :ensure t
  :commands 'diminish)
