Skip to content

Remove _pandoc because upstream supports --completion=zsh - #179

Open
Freed-Wu wants to merge 1 commit into
zsh-users:masterfrom
Freed-Wu:pandoc
Open

Freed-Wu wants to merge 1 commit into
zsh-users:masterfrom
Freed-Wu:pandoc

Conversation

@Freed-Wu

@Freed-Wu Freed-Wu commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

@syohex

syohex commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This repository is the mirror repository. You need to send an email to the zsh mailing list to send your patches.

https://www.zsh.org/mla/

@Freed-Wu

Freed-Wu commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

There is an unofficial mirror of the git repository at github. The associated issue tracket is not used but in the case of contributions to completion functions, you are welcome to submit pull requests.

https://zsh.sourceforge.io/Arc/git.html

@Mikachu

Mikachu commented Sep 2, 2026

Copy link
Copy Markdown
Member

Could you show what the upstream generated completion looks like?

@Freed-Wu

Freed-Wu commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

@Mikachu

Mikachu commented Sep 2, 2026

Copy link
Copy Markdown
Member

Seems a bit more barebones than the version in zsh, compare for example --wrap completion
autogenerated:

% pandoc --wrap <tab>
---- auto|none|preserve
auto      none      preserve
% pandoc --wrap<C-d>
---- option
--wrap  -- Text wrapping mode

zsh's completer:

% pandoc --wrap <tab>
---- policy [auto] default: auto
auto      -- wrap lines to the column width specified by --columns (default 72)
none      -- don't wrap lines at all
preserve  -- attempt to preserve the wrapping from the source document
% pandoc --wrap<C-d>
---- option
--wrap  -- determine how text is wrapped in the output (the source code, not the rendered version)

@Freed-Wu

Freed-Wu commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

more barebones

We can create a PR to upstream to improve it.

autogenerated.

Auto generate completions for bash/fish/zsh is more convenient than writing them by human.

@Freed-Wu

Copy link
Copy Markdown
Contributor Author

Any other problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants