From 97d04f99b2be36cbe728e41be849de529a477ba7 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 25 Apr 2016 23:54:45 -0400 Subject: [PATCH] Add semantic config --- .emacs.d/init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ab0616d..e20a8fc 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -105,6 +105,19 @@ (add-hook 'comint-mode-hook '(lambda () (setq-local show-trailing-whitespace nil)))) +(use-package semantic + :defer + :init + (add-hook 'c-mode-hook (lambda () + (semantic-mode 1))) + :config + (global-semantic-decoration-mode 1) + (global-semantic-highlight-func-mode 1) + (global-semantic-show-unmatched-syntax-mode 1) + (global-semantic-idle-summary-mode 1) + (global-semantic-stickyfunc-mode 1) + (setq semantic-idle-scheduler-idle-time 0.1)) + (use-package term :config (add-hook 'term-mode-hook