I discovered the following issue when splitting a large bash command over multiple lines in Sublime Text 3143 on macOS 10.13.3.
I have no plugins and the following preferences:
// Settings in here override those in “Default/Preferences.sublime-settings”,
// and are overridden in turn by syntax-specific settings.
{
// The number of spaces a tab is considered equal to
“tab_size”: 4,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// Show the full path to files in the title bar.
// On OS X, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"show_full_path": true
}
Here’s the simplest way I’ve found to reproduce the problem:
- Open a new empty file
- Enter the following text: a- b=-c
- Place the cursor after the a
- Hit enter
- Hit tab
- The string -c is inserted instead of an indent, resulting in the following 2 lines:
a
-c- b=-c
A bug?