attempt to make nimsuggest work with choosenim
This commit is contained in:
parent
e17770682c
commit
1a29069ece
1 changed files with 2 additions and 0 deletions
|
|
@ -595,6 +595,8 @@ proc handleCmdLine(cache: IdentCache; config: ConfigRef) =
|
|||
raise newException(IOError,
|
||||
"Cannot find Nim standard library: Nim compiler not in PATH")
|
||||
gPrefixDir = binaryPath.splitPath().head.parentDir()
|
||||
if not dirExists(gPrefixDir / "lib"): gPrefixDir = ""
|
||||
|
||||
#msgs.writelnHook = proc (line: string) = log(line)
|
||||
myLog("START " & gProjectFull)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue