PrestonKnopp / language-gdscript

gdscript language grammar package for atom.io
https://atom.io/packages/lang-gdscript
MIT License
32 stars 9 forks source link

Files other than .gd are being linted, causing errors. #45

Closed KettLovahr closed 3 years ago

KettLovahr commented 3 years ago

Potentially a duplicate of, or the same root cause as #38? Opening files such as .gitignore or *.import or export_presets.cfg, causes them to be linted and make errors appear, which persist after these files are closed.

image

image

I'm not quite sure if it's a mistake on my part, or if it's an issue with the client, but I can't think of anything I could do to work around this issue, save for turning off linting altogether, I can't find a way to blacklist files that I don't want linted.

It's also always reproducible on my end: as soon as Godot is open, the Language Server is up and one of these files are open in Atom, the false errors appear.

Ideally, only *.gd files should be linted with the gdscript provider.

I don't think versions are relevant here, but I can provide them if necessary.

Thanks in advance!

PrestonKnopp commented 3 years ago

Hi, thanks for posting an issue. This has been fixed in commit 74fb457 and will be pushed soon with version 6.2.