Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Vim syntax file for zsh
- X-seq: zsh-users 8294
- From: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Vim syntax file for zsh
- Date: Sat, 11 Dec 2004 20:41:51 -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=ioQJfi+uGIGtVYyGqc91c2QfEA87LzcVy6zWck1vtORbZJHKmlHsDkA607bGCtQHy63iwlEmU3h4/fPV4Tr6T6gqoAfY7B/uIePvZfHbY/2lK5zz+/75+TZZZKuYaqhAYv/rMSl/kB9ejnB1mtADQPlJAaa8lXP6qu8NdeeWXU0=
- In-reply-to: <20041209232655.GB21023@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041208134714.GB10098@xxxxxxxxxxxxxxxxxx> <902B4263-49EA-11D9-A14D-000A95D2C79E@xxxxxxxxxxxxxxxx> <20041209144520.GC9424@xxxxxxxxxxxxxxxxxx> <dc507f4a04120908364a032da6@xxxxxxxxxxxxxx> <20041209181813.GF9424@xxxxxxxxxxxxxxxxxx> <20041209182347.GG9424@xxxxxxxxxxxxxxxxxx> <20041209200941.GA27510@xxxxxxxxx> <20041209212423.GA21023@xxxxxxxxxxxxxxxxxx> <20041209224315.GB27510@xxxxxxxxx> <20041209232655.GB21023@xxxxxxxxxxxxxxxxxx>
- Reply-to: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
Here are the things I notice:
Some of the characters like "|<>" were being highlighted as yellow in
a variable reference like ( found in _files:71)
eval "def=( ${${def:gs/\\:/\\\\\\\\\\\\:}//(#b)([][()|*?^#~<>])/\\${match[1]}}
)"
another one from _path_files:165 that confuses it:
tmp3="${${(M)SUFFIX%\([^\|\~]##\)}[2,-2]}"
Here's a line that seems to confuse it from _nslookup
"${(@)^${(@)${(@M)setopts:#\(*}/\)/)-}/\(/(-}" \
Also the `` embedded in double quotes doesn't seem to highlight properly.
Also, it might be nice if well known functions like the completion
functions (e.g. _arguments) are highlighted, like it does with
builtin variables.
A free standing -, or one that is in the middle of a word seems to turn red...
The syntax file doesn't handle here-strings "<<<" syntax.
(see: http://zsh.sunsite.dk/Doc/Release/zsh_6.html#SEC28)
Thanks Nikolai, this is useful.
-FR.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author