 (add-hook 'c-mode-hook 'irony-mode)
 (add-hook 'objc-mode-hook 'irony-mode)
 (eval-after-load 'company  '(add-to-list 'company-backends 'company-irony))
-
 
 ;; replace the `completion-at-point' and `complete-symbol' bindings in
 ;; irony-mode's buffers by irony-mode's function



;; folding
(require 'vimish-fold)
(vimish-fold-global-mode 1)

(require 'evil-vimish-fold)
(evil-vimish-fold-mode 1)


(require 'clang-format)
(global-set-key [C-M-tab] 'clang-format-region)

    'irony-completion-at-point-async))
(add-hook 'irony-mode-hook 'my-irony-mode-hook)
(add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)

;enable company mode
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)

; semantic refactoring
(require 'srefactor)
