Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for JSON5 filetype #460

Open
alienman5k opened this issue May 7, 2024 · 0 comments
Open

Support for JSON5 filetype #460

alienman5k opened this issue May 7, 2024 · 0 comments

Comments

@alienman5k
Copy link

Support out of the box for json5 filetype.

JSON5 allows comments just like jsonc. This can be done from each individual configuration by adding:

local ft = require("Comment.ft")
ft.json5 = {'//%s', '/*%s*/'}

But if this can be integrated in the main plugin it would be a nice addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant