Your plugin should use the current editor's tab size (activeEditor.options.tabSize) for indenting (indent_width) instead of always defaulting to "4".
Ideally, the override order should be:
- Local
.lua-format file.
- Active editor's tab size.
- Global user's
.lua-format.
- Plugin defaults.