Comment.nvim icon indicating copy to clipboard operation
Comment.nvim copied to clipboard

Support for JSON5 filetype

Open alienman5k opened this issue 1 year ago • 0 comments

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.

alienman5k avatar May 07 '24 17:05 alienman5k