diff --git a/runtime/plugins/comment/comment.lua b/runtime/plugins/comment/comment.lua index 213d2bff9..034c49049 100644 --- a/runtime/plugins/comment/comment.lua +++ b/runtime/plugins/comment/comment.lua @@ -28,6 +28,7 @@ ft["ini"] = "; %s" ft["java"] = "// %s" ft["javascript"] = "// %s" ft["jinja2"] = "{# %s #}" +ft["json"] = "// %s" ft["julia"] = "# %s" ft["kotlin"] = "// %s" ft["lua"] = "-- %s" diff --git a/runtime/plugins/comment/help/comment.md b/runtime/plugins/comment/help/comment.md index cf1847b9b..74054cd15 100644 --- a/runtime/plugins/comment/help/comment.md +++ b/runtime/plugins/comment/help/comment.md @@ -47,6 +47,7 @@ but it is only available for certain filetypes: * java: `// %s` * javascript: `// %s` * jinja2: `{# %s #}` +* json: `// %s` * julia: `# %s` * kotlin: `// %s` * lua: `-- %s`