On Mon, Jun 23, 2008 at 09:47:15PM +0200, Rhialto wrote: > > On Tue 17 Jun 2008 at 10:44:50 -0400, James Vega wrote: > > I have to agree with Chip here that the upstream version should default > > to Bourne as that is most likely to cause people to actually configure > > the highlighting to work properly for the variant of /bin/sh that *they* > > are using. > > But the current Bourne shell *is* a POSIX shell.
You're thinking of the Bourne-Again SHell (aka bash). I'm referring to the actual Bourne shell, which isn't obsolete yet. I'll also reiterate that the current default has a purpose in being annoyingly wrong in how it syntax highlights the code people using modern systems are writing. It forces you to choose what the correct syntax highlighting is when there is no other clear indication what shell you are coding towards. None of this would be a problem if you either use a proper shebang line or let the proper flavor variable in your ~/.vimrc. It's better to be consistently wrong than to inconsistently guess the wrong shell flavor through various hacks. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature