From: Wayne Davison <wayned@users.sourceforge.net>
To: zsh-users@sunsite.dk
Subject: Re: Vim syntax file for zsh
Date: Thu, 9 Dec 2004 12:09:41 -0800 [thread overview]
Message-ID: <20041209200941.GA27510@blorf.net> (raw)
In-Reply-To: <20041209182347.GG9424@puritan.pcp.ath.cx>
I've been trying this out, and I have a few comments:
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. I don't know enough vim-syntax to
fix this, so I just added XXXXX to the beginning of the "start" spec
on that line, and the problem went away for now.
I noticed that | and > are colored in the Operator color, but ; and &
are not. I'd prefer to see them all colored as operators.
I like the sh/bash string idiom where the quotes are colored as operator
characters instead of as string characters (since they delimit the
string). I simply changed the 3 uses of matchgroup=zshString into
matchgroup=Operator, and it now works the way I want it to.
I don't like the highlighting of command-line options in the same color
as a variable. I just removed all the zshSwitches stuff, making them
the default text color.
That's just my $.02. Thanks for working on this!
..wayne..
next prev parent reply other threads:[~2004-12-09 20:10 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 7:40 Felix Rosencrantz
2004-12-01 8:43 ` Danek Duvall
2004-12-01 12:02 ` Nikolai Weibull
2004-12-03 8:02 ` Felix Rosencrantz
2004-12-04 15:54 ` Clint Adams
2004-12-04 16:42 ` Nikolai Weibull
2004-12-04 17:00 ` OT: vim maintainer [Re: Vim syntax file for zsh] Clint Adams
2004-12-04 22:04 ` Nikolai Weibull
2004-12-04 16:42 ` Vim syntax file for zsh Nikolai Weibull
2004-12-08 8:13 ` Felix Rosencrantz
2004-12-08 13:47 ` Nikolai Weibull
2004-12-08 18:14 ` Nikolai Weibull
2004-12-09 13:59 ` lists
2004-12-09 14:45 ` Nikolai Weibull
2004-12-09 16:36 ` Felix Rosencrantz
2004-12-09 18:18 ` Nikolai Weibull
2004-12-09 18:23 ` Nikolai Weibull
2004-12-09 20:09 ` Wayne Davison [this message]
2004-12-09 21:24 ` Nikolai Weibull
2004-12-09 22:43 ` Wayne Davison
2004-12-09 23:26 ` Nikolai Weibull
2004-12-12 4:41 ` Felix Rosencrantz
2004-12-12 13:34 ` Nikolai Weibull
2004-12-12 16:40 ` Felix Rosencrantz
2004-12-12 20:10 ` Nikolai Weibull
2004-12-13 3:41 ` Doug Kearns
2004-12-10 8:13 ` Stephane Chazelas
2004-12-10 15:27 ` Nikolai Weibull
2004-12-10 15:46 ` Stephane Chazelas
2004-12-11 13:24 ` Nikolai Weibull
2004-12-11 16:13 ` Stephane Chazelas
2004-12-11 20:02 ` Nikolai Weibull
2004-12-08 13:15 ` Doug Kearns
2004-12-01 15:32 ` Ziggy
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=20041209200941.GA27510@blorf.net \
--to=wayned@users.sourceforge.net \
--cc=zsh-users@sunsite.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).