Closed greenfork closed 5 years ago
Emacs uses it's own internal PATH variable, which may differ from your normal one. I had to fix a similar issue by doing this in my init file:
(setenv "PATH" (concat (getenv "PATH") ":/home/zed/.nimble/bin"))
(setq exec-path (append exec-path '("/home/zed/.nimble/bin")))
(setq nimsuggest-path "/home/zed/.nimble/bin/nimsuggest")
@zestyr thank you so much, that solved the issue!
Conforming Bugs
Please tell us below:
*Messages*
buffer?And describe your problem:
Whenever I open an Emacs with nim file, I see this error:
which is this line https://github.com/nim-lang/Nim/blob/devel/nimsuggest/nimsuggest.nim#L627
Executing
nimsuggest filename.nim
works fine, continuously outputs messages likeand executing
correctly outputs my binary location.
The gist is that nimsuggest doesn't work for my Emacs buffers.