Enable linum-mode only for programming modes.