Fix fd/rtags on debian/ubuntu

On debian/ubuntu, these executables have a different name:

- fd -> fdfind
- rc -> rtags-rc
- rdm -> rtags-rdm
This commit is contained in:
Henrik Lissner 2019-07-14 22:03:45 +02:00
parent 3313058c76
commit 2ff762b397
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 2 deletions

View file

@ -197,6 +197,11 @@ This is ignored by ccls.")
(cond ((featurep! :completion ivy) 'ivy)
((featurep! :completion helm) 'helm)
('default))
;; These executables are named rtags-* on debian
rtags-rc-binary-name
(cl-find-if #'executable-find (list rtags-rc-binary-name "rtags-rc"))
rtags-rdm-binary-name
(cl-find-if #'executable-find (list rtags-rdm-binary-name "rtags-rdm"))
;; If not using ivy or helm to view results, use a pop-up window rather
;; than displaying it in the current window...
rtags-results-buffer-other-window t