On Mon, 2009-06-01 at 16:59 +0400, Sergey Vlasov wrote:
> On Mon, Jun 01, 2009 at 06:54:28AM -0400, David Dillow wrote:
> > vim on F10 has different rules for sh and bash -- things like $() and
> > ${t%%:*} are lit in red for sh, but they are valid; they don't highlight
> > that way if vim sees #!/bin/bash
> 
> Add "let g:is_posix = 1" to your .vimrc (see :help ft-sh-syntax for
> other possible settings).

Thanks for the tip, that works nicely.

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to