tag 552108 wontfix thanks On Fri, Oct 23, 2009 at 11:27:31PM +1100, Timothy Allen wrote: > In Debian bug 361177, sh.vim learned a g:is_posix configuration value, > and the current sh.vim documentation states: > > If there's no "#! ..." line, and the user hasn't availed > himself/herself of a default sh.vim syntax setting as just shown, > then syntax/sh.vim will assume the Bourne shell syntax. No need to > quote RFCs or market penetration statistics in error reports, please > -- just select the default version of the sh your system uses in > your <.vimrc>. > > Reading through the threads above, it seems one of the major reasons > contributing to upstream defaulting to classic Bourne syntax is that > many people use Vim on systems with a classic Bourne /bin/sh for legacy > reasons.
On the contrary, it's because what /bin/sh points to isn't standard. Defaulting the behavior to Bourne syntax encourages people to specify what they're actual target shell is. > This seems quite reasonable, however Debian is not such > a system. I could "just select the default version of sh my system uses > in my .vimrc", That should be "just select the version of sh my script is targetting". Simply because you're authoring the script on Debian doesn't mean you're targetting Debian's default /bin/sh. I see no reason to differ from upstream in this. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@debian.org>
signature.asc
Description: Digital signature