[Github-comments] [geany/geany] Use Scintilla's JSON lexer for JSON instead of the JavaScript/C++ lexer (#2454)

Ellie notifications at xxxxx
Sat May 16 10:34:48 UTC 2020


I think the best way could be to have a JSON with comments file type for the lenient parsing if the core JSON type to allow it. A global option as you suggest will basically force anyone to disable strict mode if they have just have just 1+ files that rely on the expanded syntax, which IMHO turns A option useless. It's not like usually a dev's choice, really, what files they have to deal with. So with a global option you might as well just leave things as they are right now (which I think wouldn't be the worst thing to do, actually)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2454#issuecomment-629624986
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200516/5aa1881a/attachment.htm>


More information about the Github-comments mailing list