commit d386fd16fed745ca66e3ff40c4375a53dbcd05f8 parent 8dff29304b7ee923d8b4c6c810d5812a7be027f9 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sun, 29 Sep 2019 14:07:24 -0400 ctags for zsh files Former-commit-id: 1765338f7d13a4e032f881d06e2c9267b0195d82 Diffstat:
A | ctags.d/zsh.ctags | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/ctags.d/zsh.ctags b/ctags.d/zsh.ctags @@ -0,0 +1,6 @@ +--langdef=zsh +--langmap=zsh:(zshrc) +--regex-zsh=/^.*source ([^ \t]+)/"\1"/s,source/ +--regex-zsh=/^[ \t]*(export )?([A-Z0-9_]+)=([^ \t\n]+)/\2: "\3"/e,env_variable/ +--regex-zsh=/^[ \t]*([a-zA-Z0-9_\-]+) ?\(\)/\1\(\)/f,function/ +--regex-zsh=/^[ \t]*bindkey ['"]([^'"]+)["'] ([^ \t#]+)/\1: \2/m,mapping/