Sublime Forum

Enabling/Disabling line numbering by file type

#1

I am trying to change the behavior of Markdown files (and prose in general) so that they don’t appear numbered while python files display line numbers. What is the right configuration to effect this?

Additional note: After a system reboot, there were some changes in behavior to Sublime, among them to line numbering. I suspect the causes of the changes to behavior was the Sublime version changing from 3.2 to 4. Previously, Markdown editing files were not numbered while python files (and I think all others) were. My global preferences had line numbering set to “true”.

0 Likes

#2

While you have a markdown file open, choose Preferences > Settings - Syntax Specific to open the settings specific to that kind of file, and then set line_numbers to false.

0 Likes

#3

Thank you for your help-- that did the trick.

1 Like