Only show line numbers in programming modes