improvements to numbered list completion

will autonumber list items past the newline when appropriate