Tabs to spaces in BBEdit
The Auto-expand tabs preference must also be set for the Language mapping setting. Also, the setting won't be applied until you create or open a new document.

See Languages in BBEdit.