Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Vim syntax file for zsh
- X-seq: zsh-users 8288
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Vim syntax file for zsh
- Date: Fri, 10 Dec 2004 08:13:58 +0000
- In-reply-to: <20041209212423.GA21023@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <dc507f4a04120800132b01f623@xxxxxxxxxxxxxx> <20041208134714.GB10098@xxxxxxxxxxxxxxxxxx> <20041208181429.GC10098@xxxxxxxxxxxxxxxxxx> <902B4263-49EA-11D9-A14D-000A95D2C79E@xxxxxxxxxxxxxxxx> <20041209144520.GC9424@xxxxxxxxxxxxxxxxxx> <dc507f4a04120908364a032da6@xxxxxxxxxxxxxx> <20041209181813.GF9424@xxxxxxxxxxxxxxxxxx> <20041209182347.GG9424@xxxxxxxxxxxxxxxxxx> <20041209200941.GA27510@xxxxxxxxx> <20041209212423.GA21023@xxxxxxxxxxxxxxxxxx>
On Thu, Dec 09, 2004 at 10:24:23PM +0100, Nikolai Weibull wrote:
> * Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx> [Dec 09, 2004 21:20]:
> > First, a bug: The zshVariable rule (after the "How safe is this?"
> > comment) is misfiring on any [ that follows word characters. For
> > instance, add "echo hi[" early in a zsh script, and the entire script
> > should become the Identifier color.
>
> Well, that [ should be quoted, so I'm not persuaded yet.
[...]
If that "[" should be quoted, then that one in:
[ -n "$1" ]
should be to:
'[' -ne "$1" ]
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author