From: Andrej Borsenkow <bor@itsmx1.mow.sni.de>
To: Bram@vim.org, zsh-workers@sunsite.auc.dk
Subject: vim-5.4l: patch to recognize ZSH new completion functions
Date: Tue, 8 Jun 1999 16:12:27 +0400 (MSD) [thread overview]
Message-ID: <Pine.SV4.4.10.9906081607270.17600-100000@itsrm2.mow.siemens.ru> (raw)
This patch enables vim to correctly recognize ZSH new completion functions
as ZSH scripts. I hope, they are already in stable enough state to justify
inclusion in VIM.
regards
/andrej
=================
--- scripts.vim.org Mon Jun 7 18:14:38 1999
+++ scripts.vim Tue Jun 8 16:03:15 1999
@@ -43,6 +43,10 @@
elseif getline(1) =~ '^#!.*[/\\]zsh\>'
set ft=zsh
+" Z shell completion functions
+elseif getline(1) =~ '^#compdef\>' || getline(1) =~ '^#autoload\>'
+ set ft=zsh
+
" ELM Mail files
elseif getline(1) =~ '^From [a-zA-Z][a-zA-Z_0-9\.=-]*\(@[^ ]*\)\= .*[12][09]\d\d$'
set ft=mail
next reply other threads:[~1999-06-08 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-08 12:12 Andrej Borsenkow [this message]
1999-06-08 21:21 ` Bram Moolenaar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SV4.4.10.9906081607270.17600-100000@itsrm2.mow.siemens.ru \
--to=bor@itsmx1.mow.sni.de \
--cc=Bram@vim.org \
--cc=borsenkow.msk@sni.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).