nim-lang / NimLime

The official Nim programming language plugin for Sublime Text
MIT License
132 stars 34 forks source link

Can't find 'nim' anymore, even with "nim.executable" set #146

Closed snej closed 1 year ago

snej commented 4 years ago

As part of upgrading to Nim 1.2.2, I just moved my nim binary from /usr/local to ~/.nimble/bin. Now NimLime has stopped working and I can't figure out how to fix it.

What I did:

I still get errors from the Build command:

[Errno 2] No such file or directory: 'nim'
[cmd: ['nim', 'c', '--parallelBuild:1', '/Users/snej/Code/nim/blip/src/blip.nim']]
[dir: /Users/snej/Code/nim/blip/src]
[path: /Users/snej/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin]
[Finished]

I've done everything I can think of — double-checked the nim path, double-checked the file for JSON syntax errors, verified that the actual file in the filesystem (/Users/snej/Library/Application Support/Sublime Text 3/Packages/User/NimLime.sublime-settings) matches what Sublime shows me, checked for updates of the NimLime package. No dice. 🤯

Any ideas?