Browse Source

Update irony-install-server check

master
Riyyi 4 years ago
parent
commit
a152122ca3
  1. 6
      .emacs.d/config.org

6
.emacs.d/config.org

@ -485,9 +485,11 @@ Irony requires M-x =irony-install-server=.
(irony-mode . irony-cdb-autosetup-compile-options) (irony-mode . irony-cdb-autosetup-compile-options)
:init (setq irony-user-dir (concat dot-cache-dir "/irony/")) :init (setq irony-user-dir (concat dot-cache-dir "/irony/"))
:config :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")) (unless (file-exists-p (concat irony-user-dir "bin/irony-server"))
(call-interactively 'irony-install-server)) (call-interactively 'irony-install-server)))
(push 'glsl-mode irony-supported-major-modes))
(use-package company-irony (use-package company-irony
:after (company irony) :after (company irony)

Loading…
Cancel
Save