Javier Rojas a écrit :

> On Thu, Aug 25, 2011 at 10:18:13AM +0200, Bastien Dejean wrote:
> > Any idea why, in the following expression:
> > 
> > ${UZBL_URI#*://}
> > 
> > the '#*://' part gets highlighted as shDerefWordError?
> 
> Because, by default, vim uses the sh syntax file.
> 
> To use the bash syntax file by default, add the following line to your
> .vimrc file:
> 
>     let g:is_bash=1

Thanks.
I didn't realise it wasn't valid sh since my shebang line is #! /bin/sh.
-- 
Bastien

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to