mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 07:34:32 +00:00
Add completions for cmark
This commit is contained in:
parent
ed4dd1dd4d
commit
230dbae0b9
2 changed files with 18 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
#### Completions
|
||||
- Added completions for
|
||||
- `asciidoctor`
|
||||
- `cmark`
|
||||
- `dhclient`
|
||||
- `dropdb`, `createdb`, `pg_restore`, `pg_dump` and `pg_dumpall`
|
||||
- `gitk`
|
||||
|
|
17
share/completions/cmark.fish
Normal file
17
share/completions/cmark.fish
Normal file
|
@ -0,0 +1,17 @@
|
|||
complete -x -c cmark -a "
|
||||
(
|
||||
__fish_complete_suffix .md
|
||||
__fish_complete_suffix .markdown
|
||||
)
|
||||
"
|
||||
|
||||
complete -x -c cmark -s t -l to -a "html man xml latex commonmark" -d "Output format"
|
||||
complete -c cmark -l width -d "Wrap width"
|
||||
complete -c cmark -l hardbreaks -d "Treat newlines as hard line breaks"
|
||||
complete -c cmark -l nobreaks -d "Render soft line breaks as spaces"
|
||||
complete -c cmark -l sourcepos -d "Include source position attribute"
|
||||
complete -c cmark -l validate-utf8 -d "Validate UTF-8"
|
||||
complete -c cmark -l smart -d "Use smart punctuation"
|
||||
complete -c cmark -l unsafe -d "Render raw HTML and dangerous URLs"
|
||||
complete -c cmark -l help -d "Print usage information"
|
||||
complete -c cmark -l version -d "Print version"
|
Loading…
Reference in a new issue