Remove logic inferring which char to insert.

Previously, the plugin tried to infer which character to insert as the eol
character. It worked for well for some cases but it wasn't good enough. A more
clever inference algorithm is needed to work for more cases.