Add semantic config

This commit is contained in:
Adam Goldsmith 2016-04-25 23:54:45 -04:00
parent 78156ef67c
commit 97d04f99b2

View File

@ -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