oxalica / nil

NIx Language server, an incremental analysis assistant for writing in Nix.
Apache License 2.0
1.38k stars 40 forks source link

Optionally enable incomplete syntax errors #11

Closed IvarWithoutBones closed 2 years ago

IvarWithoutBones commented 2 years ago

Thanks for all your work on this project, I'm loving it so far! I just have one question/suggestion;

The readme currently states that Incomplete syntax errors are currently suppressed to avoid noisy outputs during typing. I would really like to enable reporting these incomplete errors, I don't mind the noisy output and prefer a non-descriptive error rather than none. Would it be feasable to make that a configurable option?

oxalica commented 2 years ago

I would really like to enable reporting these incomplete errors,

That will be eventually enabled. I'm refining parser errors recently.

Would it be feasable to make that a configurable option?

I opened #13 to track this.

IvarWithoutBones commented 2 years ago

Thanks for the quick response, I'll subscribe to that issue :+1: