On Fri, Nov 7, 2008 at 08:08, François Ingelrest
<[EMAIL PROTECTED]> wrote:
> On Thu, Nov 6, 2008 at 22:41, Roberto Miura Honji <[EMAIL PROTECTED]> wrote:
>> I'm using highlight inside a function and It's working.
>
> You get the same color highlighting inside and outside the function?
> For me the highlighting works inside functions for most statements,
> but not for the 'highlight' statement itself (see attached
> screenshot).
>
>> Do you call the function?
>> If you only define a function on foo.vim, this only will be defined. Try
>> append a follow line in a foo.vim: call Foo()
>
> This doesn't make a difference. Actually, I'm not sure the syntax file
> checks that functions are called to highlight them.

I should add that I'm using Vim 7.2.26, compiled by myself using the
sources from the CVS, so I guess the syntax file also comes from the
CVS. I get the same result when using Vim -u NONE -U NONE, and
enabling only syntax highlighting after that.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui