Fix absolute path in rustic-analyzer-command by default

This commit is contained in:
Henrik Lissner 2020-02-27 11:55:27 -05:00
parent 9816209484
commit afa6b7ab90
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -10,6 +10,10 @@
(use-package! rustic (use-package! rustic
:mode ("\\.rs$" . rustic-mode) :mode ("\\.rs$" . rustic-mode)
:commands rustic-run-cargo-command rustic-cargo-outdated :commands rustic-run-cargo-command rustic-cargo-outdated
:init
;; `rustic-analyzer-command' is set to an absolute path by default, which
;; makes rust-analyzer detection needlessly brittle.
(setq rustic-analyzer-command '("rust-analyzer"))
:config :config
(set-docsets! 'rustic-mode "Rust") (set-docsets! 'rustic-mode "Rust")