It's because the syntax file doesn't support anonymous functions. I guess usually (in many other languages) that's an error? Fix it by removing
syn match actionScriptInParen contained "[{}]"
from actionscript.vim.I don't know.
pydave
2010-06-24 21:39:59