On Thu, Mar 6, 2008 at 12:11 PM, Vladimir Marek <[EMAIL PROTECTED]> wrote:
>
> On Thu, Mar 06, 2008 at 10:13:16AM +0200, Yakov Lerner wrote:
> >
> > I see problem with shell highlighting with the following piece,
> > apparently caused by the command named 'locale'.
> > I am using latest runtime files. from rsync.
> > Does anybody see incorrect highlighting, too ?
> > ------------------------------------------
> > #!/bin/bash
> >
> > utf-off() {
> > echo "export LANG=C; unset LC_ALL LANGUAGE"
> > unset `locale | awk -F= '{print$1}' `
> > export LANG=C; unset LC_ALL LANGUAGE;
> > env|egrep '^(LANG|LC_)';
> > }
> > ------------------------------------------
>
> > The problem seem to begin with the word 'locale'.
> >
> > If I remove space after 'locale' (so it becomes locale|),
> > there is another strange highlighting in the word 'locale'.
>
> It seems to work fine for me.
>
> !cat $VIMRUNTIME/syntax/sh.vim | grep Version
> " Version: 89
Version 95 here.
Yakov
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---