Peter Munch-Ellingsen

Results 251 comments of Peter Munch-Ellingsen

Why is this done? The compiler should just error out early if there is a syntax error, right?

But part of LSP is based around getting information about what to type. Take a suggestion for example, you write `var x = "Hello world"; echo x.` and then hit...

Of course `x.l` would still work, that's syntactically correct. But that's beside the point, this still disables features that works fine right now. However I'm interested in the crash you...

@bung87, we should try to support the 1.2 branch as well, so if it's possible please add a when NimVersion check and shim the required things.

`-p` adds a path as a search path, so `-p:-d:explicitSourcePath` wouldn't do what you think it does. It would try to search for the missing files in a directory `-d:explicitSourcePath`....

Hmm, and with `-p:-d` and fully expanded path? I can't see `-p` in the Nimble docs, but I've seen it suggested elsewhere since I last replied.

Hmm, curious. And what Nim sources are you pointing to? Can you confirm that the named module actually exists in the lib folder of those sources?

Hmm, very weird.. Could you try to clone NimLSP and build manually to see if that works? Honestly not sure what's going on here.. What version of Nim/Nimble do you...

Yeah, as I said the sources must match the version you're compiling with. Try again with 1.4.8 sources and it should work