https://github.com/emacsattic/company-racer
Company integration for racer
https://github.com/emacsattic/company-racer
Last synced: about 2 months ago
JSON representation
Company integration for racer
- Host: GitHub
- URL: https://github.com/emacsattic/company-racer
- Owner: emacsattic
- Created: 2015-05-17T19:16:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-08-17T04:00:05.000Z (almost 7 years ago)
- Last Synced: 2025-04-02T20:44:56.287Z (about 2 months ago)
- Language: Emacs Lisp
- Size: 13.7 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# company-racer - Company integration for racer
*Author:* Mario Rodas
*Version:* 0.1> **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][].
## Setup
Install and configure [racer][]. And add to your `init.el`:
(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.
### Troubleshooting
+ [racer][] requires to set the environment variable with
`RUST_SRC_PATH` and needs to be an absolute path:(unless (getenv "RUST_SRC_PATH")
(setenv "RUST_SRC_PATH" (expand-file-name "~/path/to/rust/src")))## TODO
+ [ ] Add support for find-definition (maybe not in this package.)
[racer]: https://github.com/phildawes/racer
[emacs-racer]: https://github.com/racer-rust/emacs-racer
[rust-lang]: http://www.rust-lang.org/---
Converted from `company-racer.el` by [*el2markdown*](https://github.com/Lindydancer/el2markdown).