Indentation seems to be a problem quite a few people have had before:
https://forum.sublimetext.com/t/less-smart-auto-tabbing-but-not-completely-dumb-please/11496/1
https://forum.sublimetext.com/t/smart-indent-bug/4709/1
http://stackoverflow.com/questions/11297868/sublime-text-v-2-0-how-do-i-stop-auto-indentation-on-new-lines-after-bracket
They (including me) are all basically saying the same thing: Why is it that disabling smart_indent does not disable the “smart” part of the indenting system?
The smart system’s not exactly very good, either; here’s me typing code in Lua with no tabbing:
[code]if 5 then
end
if 5 then
end[/code]
This kind of inconsistency is frustrating and awful for a workflow. It’s really the only thing that’s stopping me from deploying Sublime Text to the devices I own, and for such an old bug, this seems odd.
My settings file for anyone interested:
[code]{
“auto_complete_commit_on_tab”: true,
“auto_match_enabled”: false,
“bold_folder_labels”: true,
“caret_style”: “phase”,
“close_windows_when_empty”: true,
“color_scheme”: “Packages/User/Twilight (SL).tmTheme”,
“default_line_ending”: “system”,
“ensure_newline_at_eof_on_save”: true,
“font_options”:
"subpixel_antialias"
],
"highlight_line": true,
"ignored_packages":
"Vintage"
],
"rulers":
90
],
"show_line_endings": true,
"smart_indent": false,
"trim_automatic_white_space": false,
"auto_indent": true,
"smart_indent": false,
}[/code]
Of coruse; if anyone has a solution, I’d be more than happy to hear about it! Even so, though; it’s still a bug that really should be fixed.
Edit:
Just a note that this bug has existed since ST2, and is still showing in ST3.