diff --git a/config.org b/config.org index dd899ea..51766a3 100644 --- a/config.org +++ b/config.org @@ -296,7 +296,8 @@ Including indent-buffer, which should not be called automatically on save." (use-package irony :ensure t :config - (add-hook 'c-mode-hook 'irony-mode)) + (add-hook 'c-mode-hook 'irony-mode) + (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)) (with-eval-after-load 'company (add-hook 'c-mode-hook 'company-mode)) #+END_SRC