From a152122ca3652cc69ecf630cd3c9fcea892b24af Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 7 Aug 2020 23:24:51 +0200 Subject: [PATCH] Update irony-install-server check --- .emacs.d/config.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index c42cc4f..3788544 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -485,9 +485,11 @@ Irony requires M-x =irony-install-server=. (irony-mode . irony-cdb-autosetup-compile-options) :init (setq irony-user-dir (concat dot-cache-dir "/irony/")) :config + (push 'glsl-mode irony-supported-major-modes) + + ;; Compile the irony-server binary if it doesnt exist (unless (file-exists-p (concat irony-user-dir "bin/irony-server")) - (call-interactively 'irony-install-server)) - (push 'glsl-mode irony-supported-major-modes)) + (call-interactively 'irony-install-server))) (use-package company-irony :after (company irony)