mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-26 12:07:18 +03:00
Use //
comments for .json
(#3388)
Add comments to `.json` files using `//` instead of the default `#`. Even though JSON does not support comments, JSON5 and JSONC exist, so `//` is a much more sane default. It also improves the experience of editing micro's own config files.
This commit is contained in:
parent
e042bb3514
commit
b8772b69c2
@ -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"
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user