When the result of nimble dump contains nimDir, use nimDir as the initial search path for the nim executable instead of returning the directory itself (which would never be valid).
When searching for an executable (nimsuggest, nimlangserver, etc.), don't use the HOME environment variable on Windows. This was causing issues with node's path resolution functions which don't accept undefined.
fixes #35
nimble dump
containsnimDir
, usenimDir
as the initial search path for thenim
executable instead of returning the directory itself (which would never be valid).HOME
environment variable on Windows. This was causing issues with node'spath
resolution functions which don't acceptundefined
.