only enable line numbers on prog-mode rather than on all