mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 09:47:19 +09:00
Add support for dozens more languages to the comment plugin (#1729)
This commit is contained in:
@@ -23,23 +23,58 @@ selected.
|
||||
The comment type will be auto detected based on the filetype,
|
||||
but it is only available for certain filetypes:
|
||||
|
||||
* apacheconf: `# %s`
|
||||
* bat: `:: %s`
|
||||
* c: `// %s`
|
||||
* c++: `// %s`
|
||||
* cmake: `# %s`
|
||||
* conf: `# %s`
|
||||
* crystal: `# %s`
|
||||
* css: `/* %s */`
|
||||
* d: `// %s`
|
||||
* dart: `// %s`
|
||||
* dockerfile: `# %s`
|
||||
* elm: `-- %s`
|
||||
* fish: `# %s`
|
||||
* gdscript: `# %s`
|
||||
* glsl: `// %s`
|
||||
* go: `// %s`
|
||||
* haskell: `-- %s`
|
||||
* html: `<!-- %s -->`
|
||||
* ini: `; %s`
|
||||
* java: `// %s`
|
||||
* javascript: `// %s`
|
||||
* jinja2: `{# %s #}`
|
||||
* julia: `# %s`
|
||||
* kotlin: `// %s`
|
||||
* lua: `-- %s`
|
||||
* markdown: `<!-- %s -->`
|
||||
* nginx: `# %s`
|
||||
* nim: `# %s`
|
||||
* objc: `// %s`
|
||||
* pascal: `{ %s }`
|
||||
* perl: `# %s`
|
||||
* php: `// %s`
|
||||
* pony: `// %s`
|
||||
* powershell: `# %s`
|
||||
* proto: `// %s`
|
||||
* python: `# %s`
|
||||
* python3: `# %s`
|
||||
* ruby: `# %s`
|
||||
* rust: `// %s`
|
||||
* scala: `// %s`
|
||||
* shell: `# %s`
|
||||
* sql: `-- %s`
|
||||
* swift: `// %s`
|
||||
* tex: `% %s`
|
||||
* toml: `# %s`
|
||||
* twig: `{# %s #}`
|
||||
* v: `// %s`
|
||||
* xml: `<!-- %s -->`
|
||||
* yaml: `# %s`
|
||||
* zig: `// %s`
|
||||
* zscript: `// %s`
|
||||
* zsh: `# %s`
|
||||
|
||||
If your filetype is not available here, you can simply modify
|
||||
the `commenttype` option:
|
||||
@@ -57,4 +92,3 @@ Or in your `settings.json`:
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user