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

-- 
        Vlad

Attachment: pgpBLfZgrqisl.pgp
Description: PGP signature

Raspunde prin e-mail lui