   (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

  (setq compile-command (concat "ledger -f " (file-name-nondirectory buffer-file-name) " bal --cleared" ))
  )

(use-package modern-cpp-font-lock
  :init
  (add-hook 'c++-mode-hook #'modern-c++-font-lock-mode)

  :diminish aggressive-indent-mode
  :init
  (aggressive-indent-global-mode t)
  ;; MatLab doesnot like me and vice versa
  (add-to-list 'aggressive-indent-excluded-modes 'octave-mode)
  )
