 (add-hook 'c++-mode-hook 'irony-mode)
 (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


(install-my-packages)



;; flycheck

;    (highlight-parentheses-mode t)))
;(global-highlight-parentheses-mode t)

(setq show-paren-delay 0.01)
(show-paren-mode 1)

(require 'smartparens-config)
(add-hook 'c++-mode-hook #'smartparens-mode)
(add-hook 'c-mode-hook #'smartparens-mode)


;; folding
(require 'vimish-fold)
