 ;;; auto complete package
 ;; (use-package fuzzy :ensure t :defer t)
 
+;;; semantic package
+(use-package semantic
+  :config
+  (progn
+    (semantic-mode 1)))
+
+;;; auto complete package
 (use-package auto-complete
   :ensure t
   :disabled t

            (setq company-tooltip-limit 20
		  company-idle-delay .1
		  company-echo-delay 0
		  company-begin-commands '(self-insert-command))))

;;; gtags configuration
(use-package ggtags


(use-package iedit :ensure t :commands prog-mode)

(use-package company-irony
  :ensure company
  :init
  (use-package irony
    :ensure t
    :config
    (progn
      (add-hook 'c++-mode-hook 'irony-mode)
      (add-hook 'c-mode-hook 'irony-mode)
      (add-hook 'asm-mode-hook 'irony-mode)))
  :config
  (progn
    (add-to-list 'company-backends 'company-irony)
    (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)))


(provide 'prog-mode-init)
