Skip to content

Completion generation from pandoc manpage is broken #2937

@daenney

Description

@daenney

Reproduction Steps:

  1. Install pandoc and put the manpage on the MANPATH
  2. fish_update_completion
  3. pandoc -<tab>

Expected behavior:

Get completions for the long and short options in the man page.

Observed behavior:

Get completions for long and short options in the man page riddled with a lot of garbage:

-\).                                            (Here is a simple example: * one * two * three T… [See Man Page])
---                                                                                                    (author:.)
---\)                                                      (In reading LaTeX, parse the characters `, [aq], and.)
-----  -----:                                                                  (apple|2. 05 pear|1. 37 orange|3.)
------  -------  ----------                                                    (12 12 12 12 123 … [See Man Page])
-----------  -------------------------                                                            (First row 12.)
---------------                                          ((This syntax is compatible with PHP Markdown Extra. ).)
------------------                              (The header text can contain inline formatting, … [See Man Page])
-------------------------------------------------------------  (Centered Default Right Left Head… [See Man Page])
--ascii                                                                    (Use only ascii characters in output.)

Fish version: fish, version 2.2.0

Operating system: OS X 10.11 and Homebrew

Terminal or terminal emulator: iTerm2

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions