   (set-fill-column 100) ;; Equal with clang format
   (setq-default c-basic-offset 4) ;; Eqaul with clang format
   )
+
+(use-package company-c-headers
+  :defer t
+  :init
+  (add-to-list 'company-backends 'company-c-headers)
+  )
+
+;; Install LLVM - http://releases.llvm.org/download.html
+;; Install MingW - http://mingw-w64.org/doku.php - 32 bit version
+(use-package clang-format
+  :defer t
+  :init
+  (global-set-key (kbd "C-c r") 'clang-format-region)
+  (global-set-key (kbd "C-c u") 'clang-format-buffer)
+  :config
+  (setq clang-format-style-option "file")
+  ;; Stop aggressive-indent mode to use clang-format
+  (add-to-list 'aggressive-indent-excluded-modes 'c++-mode)
+  (add-to-list 'aggressive-indent-excluded-modes 'c-mode)
+  (add-to-list 'aggressive-indent-excluded-modes 'cmake-project-mode)
+  )
+
 
 (use-package cmake-mode
   :defer t

  :after flycheck
  :init
  (add-hook 'flycheck-mode-hook #'flycheck-irony-setup)
  )

(use-package nlinum
  :defer t
  :diminish auto-revert-mode
  :init
  (add-hook 'prog-mode-hook 'nlinum-mode)
  (add-hook 'ledger-mode-hook 'nlinum-mode)
  )

(use-package anzu
  :diminish anzu-mode
  :init
  (global-set-key [remap query-replace] 'anzu-query-replace)
  (global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp)
  (global-set-key (kbd "C-c a r") 'anzu-query-replace-at-cursor-thing)
  :config
  (global-anzu-mode +1)
  (set-face-attribute 'anzu-replace-to nil :foreground "#d33682")
  )

(use-package go-mode
  ;; go get -u github.com/dougm/goflymake
  :defer t
  :mode ("\\.go\\'" . go-mode)
  :config
  (add-hook 'before-save-hook #'gofmt-before-save)
  )
(use-package company-go)

(use-package evil-tutor
  :defer t
  :init
  (evil-ex-define-cmd "evil-tutor[-start]" 'evil-tutor-start)
  )

(use-package hydra)

(use-package smartparens
  :diminish smartparens-mode
  :init
  (add-hook 'prog-mode-hook #'smartparens-mode)
  :config
  (require 'smartparens-config)
  ;; TODO Look into using evil-smartparens
  )

(use-package ggtags

	company-show-numbers t
        company-idle-delay 0)
  (add-to-list 'company-transformers #'company-sort-by-occurrence)
  )

(use-package magit
