emacs/custom/setup-cedet.el
2016-04-02 15:48:56 +02:00

22 lines
552 B
EmacsLisp

(require 'cc-mode)
(require 'semantic)
(global-semanticdb-minor-mode 1)
(global-semantic-idle-scheduler-mode 1)
(global-semantic-stickyfunc-mode 1)
(semantic-mode 1)
;; (defun alexott/cedet-hook ()
;; (local-set-key "\C-c\C-j" 'semantic-ia-fast-jump)
;; (local-set-key "\C-c\C-s" 'semantic-ia-show-summary))
;; (add-hook 'c-mode-common-hook 'alexott/cedet-hook)
;; (add-hook 'c-mode-hook 'alexott/cedet-hook)
;; (add-hook 'c++-mode-hook 'alexott/cedet-hook)
;; Enable EDE only in C/C++
(require 'ede)
(global-ede-mode)
(provide 'setup-cedet)