简体   繁体   中英

When trying to use company-rust, company cannot find racer even when provided a correct path

I'm having some issues getting company-rust to work the way it should. It loads fine initially, then dies with this error when I attempt to actually use it:

deferred error : (file-error "Searching for program" "no such file or directory" "racer")

The path is correct and I can use it in eshell . I'm on most-recent OSX, with the railwaycat/emacs-mac-port as emacs.

My init.el is here, and I'm not quite sure of what is causing it, and I'm kind of out of ideas.

(setq company-racer-executable "path/to/your/racer")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM