Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion issue
- X-seq: zsh-users 18885
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Vadim A. Misbakh-Soloviov" <mva@xxxxxxxx>, Zsh Users List <zsh-users@xxxxxxx>
- Subject: Re: completion issue
- Date: Sun, 08 Jun 2014 12:27:33 -0700
- In-reply-to: <2653527.uOyQYmyBdV@note>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <2653527.uOyQYmyBdV@note>
On Jun 9, 12:40am, Vadim A. Misbakh-Soloviov wrote:
}
}
} I experienced some issue, related to completion. Here is some summarizing of my debug-digging:
}
} > _arguments:comparguments:312: invalid option definition: -V[N]fname[Be verbose (level N) (log messages to fname)]
This is a help message from "vim". Since the default _vim completion
function does not attempt to parse the output of "vim --help", this
must be coming from some other completion function that you have in your
$fpath. You will need to contact whoever wrote that function and get
them to fix it.
If you're seeing the above error when completing after a command other
than "vim" (or an alias for vim), then something else is messed up.
The output of this might be helpful:
which-completion() {
emulate -R zsh
print -l ${(u~):-${^fpath}/${(v)^_comps[(I)(|*,)$1(,*|)]}(N-.)}
}
Run that as e.g.
which-completion vim
to see which function is being called for completion of the "vim" command.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author