snippets: fix snippet insertion when tabbed in.

This ensures that the line prefix will match the line where the snippet
was inserted for each subsequent line.