If I start sublime with a filename in the command line (e.g. “subl file.cpp &”), sublime doesn’t seem to detect indentation style (tabs vs. spaces) that is used in the file. In my particular case the file is a C++ source file which uses tabs for indentation and sublime selects spaces, as can be seen in View -> Indentation.
The problem is present only when you start sublime (which is not already running) with a file in the command line. If you open the file from within sublime (via File -> Open), autodetection works. I have tested that it works with the very same file that doesn’t work in the command line.
I have “detect_indentation”: true and “use_tab_stops”: true in the default Preferences.sublime-settings and these parameters are not present in user’s Preferences.sublime-settings. Sublime version 3.1.1 build 3176. Kubuntu 18.10 x86_64.