LuaLS / lua-language-server

A language server that offers Lua language support - programmed in Lua
https://luals.github.io
MIT License
3.12k stars 289 forks source link

Add schema link to .luarc.json. #2679

Closed notpeter closed 1 month ago

notpeter commented 1 month ago

Add json schema link to .luarc.json.

VerscheldeAlynne commented 3 weeks ago

Rather than opening an issue I will comment here.

How are you using the lua-language-server?

Freshly installed via VSCode

Which OS are you using?

Windows 10

What is the issue affecting?

Schema link in .luarc.json on generation of aformentioned file

Expected behavior

Schema link should look like this "$Schema"

image

Actual behavior

Instead the Schema link looks like this $Schema it generates without the " image

Additional Notes

None

EDIT: made the expected behaviour and actual behaviour more clear using a comment

notpeter commented 3 weeks ago

I don't understand the issue you are having. Shouldn't $schema be "$schema" in the second example? (missing ")

VerscheldeAlynne commented 3 weeks ago

@notpeter Yes, that is exactly the problem. It is indeed missing the " in the actual behaviour. I'll reiterate my post to make the problem more clear.