Hello all! I develop perl and javascript. I set up an error match (match Error /,\_s*[)}\]]) so that trailing commas will get highlighted for js as they crash IE. I put that in after/ftplugin/javascript.vim. The problem is that if I open a js file and then a perl file that error match is still around for perl. Is there any way I can have this only exist for javascript? I tried putting syn match Error ..., but that didn't work. Any ideas?
-- fREW Schmidt http://blog.afoolishmanifesto.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---