Detect over multiple lines, not just the first

Useful for when you have comments at the top of the file which e.g.
explains what this specific config does.
Merge pull request #2 from simmel/ftdetect_over_multiple_lines

Detect over multiple lines, not just the first