Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
patch for completion of ctags tags
- X-seq: zsh-workers 31151
- From: Pavol Juhas <pavol.juhas@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: patch for completion of ctags tags
- Date: Thu, 14 Mar 2013 15:16:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=IsrULlhUBY+8Iqt3QZLJik9Em5ukSvucHwgGNYmntfc=; b=olwG67Q+7TEcI5MjbKMRPlahx5Y5fRwrcxwAFMQuDnIdej/Gv3RYolgNWg7HgXfs69 /U39FaeYwRUiIS9SjRQjaoDB6GhiBbKepkVizf3zeJAaQydUk8KmeE+syT9IpfNiq4YS XzZl2v7AZF5DTB2/dKK1jFOdBM2uLeQu1rvhqZpGRvNNu5k1v45gYc7QTHkbR3PiV3Zh 8QZvycSAYSNpBIUjpVrEmxSBEUNiIF02OujghjqTKnvo8tJ1wuVFPQ1tlyDYa+omSb5y k75RHWUefoEcY2FzMMl0xLHjfYN6e1z+bwgm7s6qJ4ovII49Jfb4PMRsXxzKnZ0GSzda 26dQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
I have recently found that completion of tag labels after "vim -t <Tab>"
works on Linuxes, but not on the MacOSX.
I have tracked this down to the _complete_tag function, which assumes
ctags file format when the tags file is named "tags" and emacs-tags format
when "TAGS". However, filesystem is not case-sensitive on MacOSX and
as a result, the tags file would be always detected in the emacs format.
The attached patch against the zsh-users github repository should fix
that by checking the first line in the tags file.
Hope this helps,
Pavol
Attachment:
0001-On-case-insesitive-file-systems-look-at-the-first-li.patch
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author