oxalica / nil

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

Fix return code #135

Closed nalves599 closed 3 months ago

nalves599 commented 3 months ago

Change the return code to match the documentation:

Exit with non-zero code if there are any diagnostics. (1 for errors, 2 if only warnings)

Close #129

tennox commented 3 months ago

See https://github.com/oxalica/nil/issues/129#issuecomment-2099068326 why I submitted https://github.com/oxalica/nil/pull/136