Versions: Emacs: 26.1, Nim compiler: devel 0.19.9, and nimsuggest: devel 0.19.9
[x] Are you using latest version of nim-mode?
As far as I know, I am. MELPA had version 20181125.338
[ ] Are there message related to nim-mode in *Messages* buffer?
[x] Did you read README.md?
[ ] Is your problem related to nimsuggest-mode? (company-mode, flycheck, or el-doc)
[ ] Did you try nim-mode without nimsugggest-mode? What happened?
(Comment out nimsuggest-mode's config please)
And describe your problem:
There seem to be some issues with the path. I use nim-vm, and all my nim executables (nim and nimsuggest) are installed to ~/.nimvm/bin, which is on my path. I can call both executables from a bash shell, but when attempting to use them from nim-mode, I get the following error message:
nim-compile started at Sun Dec 16 21:38:35
nim c -r --verbosity\:0 --hint\[Processing\]\:off --excessiveStackTrace\:on /home/tay/nimtest/test.nim
/bin/bash: nim: command not found
I know I can change the path to nimsuggest with (setq nimsuggest-path "path/to/nimsuggest"), but is there a way to set the path to the nim binary itself?
*Messages*
buffer?And describe your problem: There seem to be some issues with the path. I use nim-vm, and all my nim executables (nim and nimsuggest) are installed to
~/.nimvm/bin
, which is on my path. I can call both executables from a bash shell, but when attempting to use them from nim-mode, I get the following error message:I know I can change the path to nimsuggest with
(setq nimsuggest-path "path/to/nimsuggest")
, but is there a way to set the path to the nim binary itself?