Coddx associates to json files
ajcool2k opened this issue · comments
Hi, promising project!
Looks like JSON files like package.json are associated with the dummy config. It seems to break syntax highlighting vscode usually provides. Is it intended?
Is there a manual workaround to this in the meantime?
This section seems to be the issue.
Can languages
be empty? I take it this was placeholder in a template package.json
?
Line 37 in 52c4604
Hi @ajcool2k , thanks for reporting.
yes it's a placeholder. I wonder why it breaks syntax highlighting. That "languages" is for setting the programming language which the extension supports. I'll dig into this more.
Please let me know if you know more about breaking syntax highlighting.
It looks like what is happening is your code defines a new 'language' called Dummy which associates to json files. Overwriting the default association.
Nice! Will test.
Verified working 0.2.6.
That was crazy fast. Thank you!