Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

patch for completion of ctags tags



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