Fix Tab Size
pendingby mnaoumov
Fixes tab size according to the settings.
Fix Tab Size
This is a plugin for Obsidian that fixes tab size according to the settings.
As reported on the forum:
Obsidian has setting for tab size:

But Obsidian partially ignores this setting and always inserts 4 spaces when you press Tab button in the editor, if you have setting Indent using tabs disabled.
This plugin fixes the editor tab size making it to match Indent visual width setting.
Installation
The plugin is not available in the official Community Plugins repository yet.
Beta versions
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
By default, debug messages for this plugin are hidden.
To show them, run the following command in the DevTools Console:
window.DEBUG.enable('fix-tab-size');
For more details, refer to the documentation.
Support
My other Obsidian resources
See my other Obsidian resources.
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.
