function x() { return 2+3; } alert(x());
syntax match javascriptReturnError /return\s*\n\r\?\s*\w.*$/ ... highlight link javascriptReturnError Error