ptomato / sublime_autotools

Autotools syntax highlighting for Sublime Text
GNU General Public License v3.0
17 stars 15 forks source link

Don't detect indentation when in Makefile2/Automake syntax #2

Closed mattdangerw closed 9 years ago

mattdangerw commented 9 years ago

Same as the default Make syntax shipped with sublime does. Otherwise you can get in a weird state where you have some spaces in a Makefile, so sublime detects you want spaces instead of tabs, and suddenly its impossible to type a proper tab into you makefile

You never want to translate tabs to spaces in make, so we shouldn't try to detect spacing

mattdangerw commented 9 years ago

I was pretty much just copying what is shipped in the default sublime package https://github.com/malkomalko/default_sublime3_packages/blob/master/Makefile/Makefile.sublime-settings

ptomato commented 9 years ago

Thanks!