On Tue, Jun 18, 2013 at 12:55:42PM +0200, martin f krafft wrote:
> This $(shell construct) is almost identical to `this one`, except
> the first implicitly quotes the result and may be arbitrarily
> nested. Both are POSIX-compliant.
> 
> The sh syntax plugin unfortunately claims that $(such an expression)
> is an error and causes the leader and closing parentheses to be
> highlighted as Error.

":help ft-sh-syntax" describes how to default to POSIX-compliant
highlighting in your environment.

> Since all Debian shells including dash (the default) support $(),
> I suggest to either remove the conditional in that paragraph, or to
> apply the following minimal patch in the Debian package.

I explained in #552108 why I don't agree which such a change.  I was
considering merging these bugs, but maybe the below suggestion will be
sufficient.  In that case, I'll instead merge with #699172.

On Sun, Jun 23, 2013 at 04:01:38PM -0400, sacrificial-spam-addr...@horizon.com 
wrote:
> Pehaps a better solution would be to update the symlink resolution code
> at the top of sh.vim (line 30 et seq.) to know about dash.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to