mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
@ -196,7 +196,7 @@ compilation database is present in the project.")
|
|||||||
(defun +cc|init-rtags ()
|
(defun +cc|init-rtags ()
|
||||||
"Start an rtags server in c-mode and c++-mode buffers."
|
"Start an rtags server in c-mode and c++-mode buffers."
|
||||||
(when (and (memq major-mode '(c-mode c++-mode))
|
(when (and (memq major-mode '(c-mode c++-mode))
|
||||||
(rtags-executable-find "rtags"))
|
(rtags-executable-find "rdm"))
|
||||||
(rtags-start-process-unless-running)))
|
(rtags-start-process-unless-running)))
|
||||||
(add-hook 'c-mode-common-hook #'+cc|init-rtags)
|
(add-hook 'c-mode-common-hook #'+cc|init-rtags)
|
||||||
:config
|
:config
|
||||||
|
Reference in New Issue
Block a user