Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Vim syntax file for zsh
- X-seq: zsh-users 8296
- From: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Vim syntax file for zsh
- Date: Sun, 12 Dec 2004 08:40:18 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=uLx8a+XlfYyvG024cWlTrhnmvrPqBzIFTqMGIHDoySJHwUtfFyzr/9WBaYrBt31xJzInlugFUl1Yw7nrxkhJKgLPqnS2i4LLhwroJVtzc2Q2lJ39ExM3SuR436LZIkk5eqmO0kMnFfFzWwGG/bc0lzvENf55+AboYULfLAXvA2o=
- In-reply-to: <20041212133409.GA9431@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <902B4263-49EA-11D9-A14D-000A95D2C79E@xxxxxxxxxxxxxxxx> <dc507f4a04120908364a032da6@xxxxxxxxxxxxxx> <20041209181813.GF9424@xxxxxxxxxxxxxxxxxx> <20041209182347.GG9424@xxxxxxxxxxxxxxxxxx> <20041209200941.GA27510@xxxxxxxxx> <20041209212423.GA21023@xxxxxxxxxxxxxxxxxx> <20041209224315.GB27510@xxxxxxxxx> <20041209232655.GB21023@xxxxxxxxxxxxxxxxxx> <dc507f4a04121120414ae83b7f@xxxxxxxxxxxxxx> <20041212133409.GA9431@xxxxxxxxxxxxxxxxxx>
- Reply-to: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
> Suggestions? I guess that if there was a good way of matching stuff like
${var/pat/sub}
^^^^^^^^
Isn't this the same problem as a finding a quoted string? In this
case it has to follow a variable name within braces... Though maybe I
don't understand.
Also the here-strings formatting ( which is different from here-docs
<<) is wrong: cat <<<"This is a here string" should highlight the
string somehow. not just the first word. It seems confused by the
syntax, because of the closing ".
It's up to you about some well-known functions.
It would be useful if there was a file or set of files that
demonstrate syntactic features of zsh that could be used as a test
case for the syntax highlighting.
-FR.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author