I'm using highlight inside a function and It's working. 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()
2008/11/5 François Ingelrest <[EMAIL PROTECTED]> > > Hi all, > > If I put this in a foo.vim file: > > ---- > highlight Comment guifg=White guibg=Black > > function! Foo() > > highlight Comment guifg=White guibg=Black > > endfunction > ---- > > The first "highlight" line is highlighted, but not the second one. It > seems that's because it's inside a function. Is it intended, or is > this a bug in the vim syntax file? > > > > -- ---------------------------------------------- Roberto Miura Honji LAS - Laboratório de Administração e Segurança de Sistemas Engenharia de Computação - 2006 Instituto de Computação - UNICAMP email: [EMAIL PROTECTED] (principal) email: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] ------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
