From 3d9834f1e1f7d7380175f93d91e5148d5862b6a3 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Mon, 21 Aug 2017 15:47:55 +0200 Subject: [PATCH] Add irony-eldoc --- custom/setup-autocompletion.el | 1 + init.el | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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.