Sublime Text created an issue for me in regards to starting the 
LSP-Nimlangserver package. It came up with an error saying:

`cannot start nimlangserver:Nim is not in PATH`

And I found out that the reason this occurs is because for some reason Sublime 
uses its own PATH variable separate from the system's. You can type `subl` into 
your terminal and all the sudden it runs the right binary to initiate the LSP.

To fix this you can run:

`sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl`

to create a symlink to the proper binary.

More info on this can be found here: 
<https://www.sublimetext.com/docs/command_line.html>

Reply via email to