I have javascript code that uses 2 different function definition styles:

function foo()
{
  alert('bar');
}

And

var master =
{
  foo:function()
  {
    alert('bar');
  }
};

The syntax highlighting gets a little weird on the second one (with the
object literal).  I'm very new and not 100% sure how to edit syntax
highlighting files to adjust for this - any ideas?

Thanks,

Jon

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

Reply via email to