company-racer - Company integration for racer
Author: Mario Rodas email@example.com
NOTE: emacs-racer already offers completion support for through
completion-at-point-functions, so installing both packages could be unnecessary.
A company backend for racer.
Install and configure racer. And add to your
(require 'company-racer) (with-eval-after-load 'company (add-to-list 'company-backends 'company-racer))
Check https://github.com/company-mode/company-mode for details.
racer requires to set the environment variable with
RUST_SRC_PATHand needs to be an absolute path:
(unless (getenv "RUST_SRC_PATH") (setenv "RUST_SRC_PATH" (expand-file-name "~/path/to/rust/src")))
- Add support for find-definition (maybe not in this package.)
company-racer.el by el2markdown.