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

Ex. Ctags adapted to Zsh

I've adapted Exuberant Ctags to:
- allow "-" in function names,
- recognize variables defined with typeset, local, float, etc., with
options used
- recognize variable declarations that are multiple in one line and
with initialization



The commits that I refer to:


TODO is to add Vim and Emacs mode-line recognition, so that files
without extensions are nicely parsed. Currently one has to use
"--langmap=sh:.,sh:+.sh" option for that. Ex. Ctags already has
something similar – it looks at #! shebang to determine language, so
this should be easy.

Attached is screenshot of an example generated tags file.

Best regards,
Sebastian Gniazdowski

Attachment: tags.png
Description: PNG image

Messages sorted by: Reverse Date, Date, Thread, Author