diff --git a/custom/setup-autocompletion.el b/custom/setup-autocompletion.el index c9e9504..e784b93 100644 --- a/custom/setup-autocompletion.el +++ b/custom/setup-autocompletion.el @@ -9,6 +9,7 @@ '(add-hook 'flycheck-mode-hook 'flycheck-irony-setup)) (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options) +(add-hook 'irony-mode-hook 'irony-eldoc) ;; Add irony-, flycheck-, company-mode to c-mode (add-hook 'c-mode-hook 'irony-mode) diff --git a/init.el b/init.el index c4b9c3c..d23ffb6 100644 --- a/init.el +++ b/init.el @@ -47,6 +47,7 @@ sr-speedbar company irony + irony-eldoc company-irony flycheck-irony elpy @@ -101,7 +102,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages (quote (elpy irony helm-swoop helm)))) + '(package-selected-packages (quote (irony-eldoc elpy irony helm-swoop helm)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.