Make newline match in comment.line optional so it can match as your typing at the end of a file. Changed: U trunk/Bundles/Erlang.tmbundle/Syntaxes/Erlang.plist