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:
parent
3313058c76
commit
2ff762b397
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue