~edwargix/emacs.d

8a34b883f14753efdec856543fb152183ed09d3d — David Florness 5 years ago 1ba2e71
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.
1 files changed, 5 insertions(+), 2 deletions(-)

M lisp/setup-dev.el
M lisp/setup-dev.el => lisp/setup-dev.el +5 -2
@@ 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