On Do, 25 Aug 2011, Javier Rojas wrote:
> On Thu, Aug 25, 2011 at 10:18:13AM +0200, Bastien Dejean wrote:
> > Hi,
> >
> > 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
I think better would be
let g:is_posix
Since this kind of parameter expansion is required by posix and not
specific to bash.
regards,
Christian
--
--
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
No comments:
Post a Comment