Skip to content

emacsattic/company-racer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

company-racer - Company integration for racer

Author: Mario Rodas marsam@users.noreply.github.com
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.)

Converted from company-racer.el by el2markdown.

About

Company integration for racer

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors