Ignore buffers with line numbers turned off

Fixes #19