Open Munsio opened 1 month ago
This is fixed in nixd 2.2.2
Could be something with my configuration since I'm pretty new to nix(OS), but I'm still seeing the same behavior with nixd 2.2.2 and nix-ide 0.3.1 (both from nixpkgs-unstable)
Yes, that's partially fixed (in 2.2.2), you can see the release notes.
Hey running the extension with
nixd
LS and when I open an empty.nix
file I always get a lot of errors inside VSCode because the LS is unable to generate the AST from the file.Technically it is a valid error from LS but it is very annoying inside VSCode, so I would suggest to suppress this particular error if the file content is empty.
On the other hand if there is a configuration to avoid this behavior, then I would suggest to put it into a "possible default" documentation section or similar.
Error message:
If you need anything else just ask and I try to provide all the information needed.