LuaLS / LLS-Addons

Addons for use with Sumneko's Lua Language Server
https://github.com/LuaLS/lua-language-server
MIT License
63 stars 46 forks source link

Penlight: Removed config.json comments #35

Closed goldenstein64 closed 1 year ago

goldenstein64 commented 1 year ago

While I was installing the Penlight addon, it gave the following error:

[2023-03-26 12:05:20] |   ERROR   |        Addon       | Failed to read config.json file for penlight (SyntaxError: Unexpected token / in JSON at position 145)
[2023-03-26 12:05:20] |   ERROR   |    Enable Addon    | Failed to enable penlight!
[2023-03-26 12:05:20] |   ERROR   |    Enable Addon    | Unexpected token / in JSON at position 145
[2023-03-26 12:05:20] |   DEBUG   |     Filesystem     | Read 

It looks like it points to the beginning of a comment. This PR removes the comments in config.json, and hopefully that should be enough to make it work.