From 8a34b883f14753efdec856543fb152183ed09d3d Mon Sep 17 00:00:00 2001 From: David Florness Date: Sun, 29 Sep 2019 11:48:10 -0600 Subject: [PATCH] Don't let straight clone rtags I install rtags via my distro's package manager, and doing so also installs the needed elisp files. Cloning rtags with straight may result in loading elisp that is incompatible with the installed rtags binaries. --- lisp/setup-dev.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/setup-dev.el b/lisp/setup-dev.el index fc9d2a5..47fddea 100644 --- a/lisp/setup-dev.el +++ b/lisp/setup-dev.el @@ -98,6 +98,7 @@ ) (use-package rtags + :straight nil :hook (c-mode . rtags-hook) (c++-mode . rtags-hook) @@ -113,8 +114,10 @@ (evil-define-key '(normal motion) 'global (kbd "C->") 'rtags-diagnostics) (evil-define-key '(normal motion) 'global (kbd "M-[") 'rtags-location-stack-back) (evil-define-key '(normal motion) 'global (kbd "M-]") 'rtags-location-stack-forward) - (use-package company-rtags) - (use-package flycheck-rtags) + (use-package company-rtags + :straight nil) + (use-package flycheck-rtags + :straight nil) (setq rtags-autostart-diagnostics t rtags-completions-enabled t) (with-eval-after-load 'company -- 2.38.4